You can use go list command to see which versions of the module are available at the moment:

1
2
go list -m -versions github.com/hashicorp/vault/api
github.com/hashicorp/vault/api v1.0.1 v1.0.2 v1.0.3 v1.0.4 v1.1.0

Or use -u flag to see which (most recent) version you can upgrade to (if any):

1
2
go list -m -u github.com/hashicorp/vault/api
github.com/hashicorp/vault/api v1.0.3 [v1.1.0]

Where v1.0.3 is your current version, and [v1.1.0] is a most recent possible version.

go list docs

🔚

标签:

分类:

更新时间:

留下评论