modgv icon indicating copy to clipboard operation
modgv copied to clipboard

Deprecation of 'go get' for installing executables

Open afdesk opened this issue 4 years ago • 1 comments

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.

afdesk avatar Dec 07 '21 08:12 afdesk

Hi!

Thank you! Yes! I'm aware of this... as soon as I have the time I'll do a quick refactoring.

lucasepe avatar Dec 08 '21 09:12 lucasepe