modgv
modgv copied to clipboard
Deprecation of 'go get' for installing executables
Hi! Thanks for your job!
the described installation method (installation) doesn't work in Go 1.17 or later. Reason: Deprecation of 'go get' for installing executables.
I've tried to use go install:
$ go install github.com/lucasepe/modgv/modgv@latest
go install: github.com/lucasepe/modgv/modgv@latest (in github.com/lucasepe/modgv/[email protected]):
The go.mod file for the module providing named packages contains one or
more replace directives. It must not contain directives that would cause
it to be interpreted differently than if it were the main module.
$ go install github.com/lucasepe/modgv/[email protected]
go install: github.com/lucasepe/modgv/[email protected]: module github.com/lucasepe/[email protected] found, but does not contain package github.com/lucasepe/modgv/modgv
$ go install github.com/lucasepe/[email protected]
package github.com/lucasepe/modgv is not a main package
FYI.
Hi!
Thank you! Yes! I'm aware of this... as soon as I have the time I'll do a quick refactoring.