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. 

I guess I’m not supposed to manually clean the go cache 
(~/go/src/mod/github.com/XXX/go-YYY@...), or am I ? 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/f74ffd31-2e78-4c0a-bea9-1c2d6f84ea22%40googlegroups.com.

Reply via email to