Hi!
With Go 1.10 and earlier one can install binaries via regular `go get`, `go 
get golang.org/x/tools/cmd/goimports` for instance.
It doesn't work with Go modules enabled:

$ go get golang.org/x/tools/cmd/goimports
go: cannot find main module; see 'go help modules'

this is an obvious usability downgrade. I wonder if someone knows about 
some sort of replacement for the functionality?

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to