Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README: Install path is deprecated with latest Go #49

Open
zeisss opened this issue Nov 3, 2021 · 0 comments
Open

README: Install path is deprecated with latest Go #49

zeisss opened this issue Nov 3, 2021 · 0 comments

Comments

@zeisss
Copy link

zeisss commented Nov 3, 2021

I am getting this (in my home directory, with go version go1.17.2 darwin/amd64):

% go get github.com/orijtech/structslop/cmd/structslop
go: downloading github.com/orijtech/structslop v0.0.6
go: downloading golang.org/x/tools v0.0.0-20200917221617-d56e4e40bc9d
go: downloading github.com/dave/dst v0.26.2
go: downloading golang.org/x/mod v0.3.0
go get: installing executables with 'go get' in module mode is deprecated.
	Use 'go install pkg@version' instead.
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.

With Go 1.17 the new way is:

% go install github.com/orijtech/structslop/cmd/structslop@latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant