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

Update README.md fix install method #38

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zrthstr
Copy link

@zrthstr zrthstr commented Jul 22, 2022

Update install method as go get -u is outdated and not working anymore.

go get -u repuURL will no longer work. See error message below.

go install repoURL@version works..

Old error:

% go get -u github.com/visma-prodsec/confused
go: go.mod file not found in current directory or any parent directory.
	'go get' is no longer supported outside a module.
	To build and install a command, use 'go install' with a version,
	like 'go install example.com/cmd@latest'
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.

Update install method as go get -u is outdated and not working anymore.

`go get -u  repuURL` will no longer work. See error message below.

`go install repoURL@version` works..


Old error:
```
% go get -u github.com/visma-prodsec/confused
go: go.mod file not found in current directory or any parent directory.
	'go get' is no longer supported outside a module.
	To build and install a command, use 'go install' with a version,
	like 'go install example.com/cmd@latest'
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.
```
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.

1 participant