You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ go get github.com/lokalise/[email protected]
go: github.com/lokalise/[email protected]: invalid version: go.mod has post-v4 module path "github.com/lokalise/go-lokalise-api/v3" at revision v4.0.0
When manually set require as github.com/lokalise/go-lokalise-api/v3 v4.0.0 in my(importing) go.mod:
$ go get
go: errors parsing go.mod:
/.../my-project/go.mod:14:2: require github.com/lokalise/go-lokalise-api/v3: version "v4.0.0" invalid: should be v3, not v4
When set github.com/lokalise/go-lokalise-api/v4 v4.0.0:
$ go get
go: github.com/lokalise/go-lokalise-api/[email protected]: go.mod has non-.../v4 module path "github.com/lokalise/go-lokalise-api/v3" (and .../v4/go.mod does not exist) at revision v4.0.0
Setting up from new, empty project:
$ go get github.com/lokalise/go-lokalise-api
go: github.com/lokalise/go-lokalise-api: no matching versions for query "upgrade"
To Reproduce
Try upgrading to v4 in existing project, or install newly:
mkdir temp && cd temp
go mod init temp
go get github.com/lokalise/go-lokalise-api
Expected behavior
It should upgrade to v4 well.
Your environment:
darwin/arm64 go1.19.5 and go1.21.3
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
As the major version tag is bumped to v4, module path in go.mod should be updated to v4.
go-lokalise-api/go.mod
Line 1 in 502c2e3
When trying to upgrade with
go get
:When manually set
require
asgithub.com/lokalise/go-lokalise-api/v3 v4.0.0
in my(importing) go.mod:When set
github.com/lokalise/go-lokalise-api/v4 v4.0.0
:Setting up from new, empty project:
To Reproduce
Try upgrading to v4 in existing project, or install newly:
Expected behavior
It should upgrade to v4 well.
Your environment:
darwin/arm64 go1.19.5 and go1.21.3
Additional context
The text was updated successfully, but these errors were encountered: