N
N
nurzhannogerbek2019-07-02 11:16:01
go
nurzhannogerbek, 2019-07-02 11:16:01

How to check package version in golang?

Hello! Please help me figure it out.
I am using golang version 1.11.5 . I downloaded the package using the command:
go get -u github.com/gorilla/mux
The question is not new, but I can not find a solution. How can I find out the version of a downloaded or any other package?
The command go list ...only shows the list of packages used.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Pavlyuk, 2019-07-02
@pav5000

Switch to modules , there is no such problem. It's high time to start using it.

A
amimotogo, 2019-07-02
@amimotogo

How can I find out the version of a downloaded or any other package?

This is according to the latest commit from the turnip. It's not even a release if the author commits to master right away.
The version in Go is checked by either dep or go mod - these two are now mainstream.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question