Hi all, I have a need to (programatically) check what version of `goimports` someone has installed on their system.
I cannot, for the life of me, figure out if there's a way to do it other than https://groups.google.com/g/golang-nuts/c/in9IVmPc_fQ/m/O4vYNNAZCQAJto golang-nuts hey brad, is it possible to have a ```goimports version``` so that we know what versions we currently have? I suggest using the command:go get -u -v golang.org/x/tools/cmd/goimportsThe -v flag will print packages that are rebuilt. If the output is empty, that means you already had the latest version. If the output is not empty, that means you had an outdated version, but now it's up to date.If you want to find out whether your version is up to date before actually updating it, you can use gostatus and binstale tools. -- 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/811798e7-2a10-460b-892d-f214aefdeaf2n%40googlegroups.com.