[go-nuts] How can I compile my project only relay on my vendor folder with go modules?

2019-06-11 Thread
I need put my project on the server to compile.But my server can't connect to internet. So I need to put all my relay in my vendor folder in my develop environment. How can I do this with go modules? -- You received this message because you are subscribed to the Google Groups "golang-nuts"

[go-nuts] go modules:the pkg uses two different module paths

2019-06-09 Thread
### What version of Go are you using (`go version`)? $ go version go version go1.12.5 linux/amd64 ### Does this issue reproduce with the latest release? Yes ### What operating system and processor architecture are you using (`go env`)? go env Output $ go env GOARCH="amd64" GOBIN=""