vendor folder not used with 'go build'
Ok found the problem:
My MacOS File System is Case Insensitive but it looks like the go tools cant handle that... fixed my $GOPATH and now it works like it should...
From go 1.12+ go modules is the new way of handling dependencies.
- To fix dependency version
go mod init
- To bring modules in vendor folder
go mod vendor
- To build from the vendor directory
go build -mod vendor -o output