Bo Zhang

Results 166 comments of Bo Zhang

Well, thanks for reporting. In you Case 2, did you have the `vendor` directory in `/Users/admin/projects/someservice`?

Can you please try to run the command listed in the stacktrace and the environment variables directly in terminal? I.e. ``` /usr/local/bin/go build -a -tags=deploy_build netgo -ldflags -w -v -o...

Can I see your `tree /.gogradle/project_gopath` output?

In your error: ``` Main.go:22:2: cannot find package "gitlab.eng.someorg.com/depname/somesvc/app/repo" in any of: /usr/local/Cellar/go/1.10.2/libexec/src/gitlab.eng.someorg.com/depname/somesvc/app/repo (from $GOROOT) /Users/admin/projects/somesvc/.gogradle/project_gopath/src/gitlab.eng.someorg.com/depname/somesvc/app/repo (from $GOPATH) ``` This path `/Users/admin/projects/somesvc/.gogradle/project_gopath/src/gitlab.eng.someorg.com/depname/somesvc/app/repo` should be pointed back to `/Users/admin/projects/somesvc/app/repo` and exist....

That doesn't make sense. `/Users/admin/projects/somesvc/.gogradle/project_gopath/src/gitlab.eng.someorg.com/depname/somesvc` should point back to `/Users/admin/projects/somesvc`, but seems it's not the case in your machine.

Thanks. Weird indeed. It would be great if you could share a minimum reproducible sample to help me figure it out. > On 26 May 2018, at 12:40 PM, Sachin...

A reproducible sample is enough, thanks.

Thanks, but this is not the previous error. You need to add the dependency `github.com/go-sql-driver/mysql` to your repo: ``` dependencies { golang { build 'github.com/golang/example#0dea2d0bf90754ffa40e0cb2f23b638f3e3d7e09' build 'github.com/go-sql-driver/mysql'

Maybe you can delete the content of your project gradually to find out which contents are problematic? If issue still exit I'd be glad to see the minimum project.

@llamahunter Can you please provide a minimum reproducible sample? Seems like I never encountered same issue as you. This is probably due to new go version, or something else. It...