We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
root@server:/data/go/src/github.com/it234/goapp/cmd/manageweb# go run main.go main.go:4:2: cannot find package "goapp/internal/app/manageweb" in any of: /data/go/src/github.com/it234/goapp/vendor/goapp/internal/app/manageweb (vendor tree) /usr/local/go/src/goapp/internal/app/manageweb (from $GOROOT) /data/go/src/goapp/internal/app/manageweb (from $GOPATH)
The text was updated successfully, but these errors were encountered:
你好, 方法1:你开启GO MOD模式; 方法2:你把goapp整个目录移动到gopath/src/goapp目录下; 方法3:你重新down代码我做了gopath和go mod兼容处理;
Sorry, something went wrong.
No branches or pull requests
root@server:/data/go/src/github.com/it234/goapp/cmd/manageweb# go run main.go
main.go:4:2: cannot find package "goapp/internal/app/manageweb" in any of:
/data/go/src/github.com/it234/goapp/vendor/goapp/internal/app/manageweb (vendor tree)
/usr/local/go/src/goapp/internal/app/manageweb (from $GOROOT)
/data/go/src/goapp/internal/app/manageweb (from $GOPATH)
The text was updated successfully, but these errors were encountered: