I have a small go program to test a third party package stored on github.
I’m using go1.13.1 with no GOPATH defined. Code is in ~/go/src.
When I first tried to compile the program, there was an error in the third party package. I submitted a pull request to fix it and the manager merged it.
The problem I’m facing now is that I can’t get go to use the newest version of the package.
If I remove the require line in the go.mod file and do a go get, or go get -u, or go get -u <package>, I always get the older package although go prints the message "go: finding
github.com/XXX/go-YYY latest". It’s definitely not the latest.
I’m stuck now and don’t know how to download the really latest version of the package.