Go语言:引用私有包报错“named files must all be in one directory”
"named files must all be in one directory" 这个报错实际上是项目私有包(package)的文件组织与引用的问题。示例如下:$GOPATH/src/hd-backend/ ├── go.mod ├── go.sum ├── httptest.go ├── httputils