Thx for your support.

> Could you provide explicit steps (ideally a `go.mod` file and a 
corresponding `.go` source file, and the version of the Go toolchain you 
are using) to reproduce the problem?
With this go.mod https://play.golang.org/p/PeSbMFMAsHf & with go get -u 
./... the version stills on v1 branch.

With this go.mod https://play.golang.org/p/jAw0ENF1Y6V (without exclude on 
all versions in v2 branch) & with go get -u ./... I got this error:
go: downloading github.com/nicksnyder/go-i18n v2.0.3+incompatible
go: extracting github.com/nicksnyder/go-i18n v2.0.3+incompatible
build xxx: cannot load github.com/nicksnyder/go-i18n/i18n: module 
github.com/nicksnyder/go-i18n@latest found (v2.0.3+incompatible), but does 
not contain package github.com/nicksnyder/go-i18n/i18n

And the go.mod has changed:
--- a/src/xxx/go.mod
+++ b/src/xxx/go.mod
@@ -27,7 +27,7 @@ require (
        github.com/nats-io/jwt v0.3.2 // indirect
        github.com/nats-io/nats-server/v2 v2.1.0 // indirect
        github.com/nats-io/nats.go v1.9.1
*-       github.com/nicksnyder/go-i18n v1.10.1*
*+       github.com/nicksnyder/go-i18n v2.0.3+incompatible*
        github.com/pelletier/go-toml v1.6.0 // indirect
        github.com/prometheus/client_golang v1.3.0
        github.com/rogpeppe/go-charset v0.0.0-20190617161244-0dc95cdf6f31


For the source files, I can't provide it.

Thx for the links, I will check it.

-- 
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/3dc1f29e-1433-4caf-af0a-dda6398cafc0%40googlegroups.com.

Reply via email to