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

docs: use 'go install' instead of 'go get' #146

Merged
merged 2 commits into from May 8, 2023
Merged

docs: use 'go install' instead of 'go get' #146

merged 2 commits into from May 8, 2023

Conversation

mikaello
Copy link
Contributor

@mikaello mikaello commented Jan 2, 2023

As of Go 1.17, 'go get' is deprecated, and as of 1.18 'go get' will no longer build packages. 'go install' should be used instead, see https://go.dev/doc/go-get-install-deprecation

Signed-off-by: mikaello 2505178+mikaello@users.noreply.github.com

As of Go 1.17, 'go get' is deprecated, and as of 1.18 'go get' will no longer build packages. 'go install' should be used instead, see https://go.dev/doc/go-get-install-deprecation

Signed-off-by: mikaello <2505178+mikaello@users.noreply.github.com>
@pgporada
Copy link

pgporada commented Mar 1, 2023

You'll probably want to add @latest like the error message below.

$ go install github.com/ofabry/go-callvis
go: 'go install' requires a version when current directory is not in a module
	Try 'go install github.com/ofabry/go-callvis@latest' to install the latest version

README.md Outdated Show resolved Hide resolved
Signed-off-by: mikaello <2505178+mikaello@users.noreply.github.com>
@mikaello
Copy link
Contributor Author

mikaello commented Mar 2, 2023

You'll probably want to add @latest like the error message below.

Thanks, fixed now.

@ondrajz ondrajz merged commit 79702ce into ondrajz:master May 8, 2023
@ondrajz
Copy link
Owner

ondrajz commented May 8, 2023

Thank you.

@mikaello mikaello deleted the patch-1 branch May 9, 2023 09:57
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

Successfully merging this pull request may close these issues.

None yet

3 participants