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

Installing executables with ‘go get’ in module mode is deprecated in Go 1.7 #20

Closed
aarrtteemm opened this issue Sep 11, 2021 · 2 comments · Fixed by #21
Closed

Installing executables with ‘go get’ in module mode is deprecated in Go 1.7 #20

aarrtteemm opened this issue Sep 11, 2021 · 2 comments · Fixed by #21

Comments

@aarrtteemm
Copy link

Documentation for the tool suggests the usage of go get for installing the command. However, this command is deprecated in Go 1.7. It takes some time for ones who are not experienced with Go eco-system to install the tool. I personally came up with the solution below but I'm sure there is a more Go-ish way to do it. Please update the documentation with the corresponding command(s).

git clone https://github.com/google/der-ascii.git
cd der-ascii
go install ./cmd/...
@thgoebel
Copy link
Contributor

go install github.com/google/der-ascii/cmd/...@latest worked for me (docs).

thgoebel added a commit to thgoebel/der-ascii that referenced this issue Jan 18, 2022
thgoebel added a commit to thgoebel/der-ascii that referenced this issue Jan 18, 2022
@davidben
Copy link
Collaborator

Oops, somehow I missed this bug report. Thanks @thgoebel for providing a fix!

mcy pushed a commit to mcy/der-ascii that referenced this issue Feb 22, 2022
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 a pull request may close this issue.

3 participants