On Thu, Oct 17, 2024 at 10:31 PM shan...@gmail.com
wrote:
> I have a need to (programatically) check what version of `goimports`
> someone has installed on their system.
>
It might help if you told us why you need to do that.
The answer by Axel Wagner is somewhat helpful but the output of "go v
Awesome, I think that that will work for us
FTR, I hadn't realised that `gopls` usurped `goimports` - I shall be
updating my ~/.vimrc forthwith :)
On Friday, October 18, 2024 at 3:44:18 PM UTC+10 Axel Wagner wrote:
> You can look at `go version -m /path/to/goimports` to get the version of
> th
You can look at `go version -m /path/to/goimports` to get the version of
the golang.org/x/tools module.
I seem to remember that there was a way to get that information out of a
binary programatically as well, but I can't find it right now. You might
try to look at what the `go version` command does
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 i