Docs: 'go get' is no longer supported outside a module

Starting in Go 1.17, installing executables with go get is deprecated. go install may be used instead. (https://go.dev/doc/go-get-install-deprecation)

Great an easy to use tool, by the way. Thank you.
This commit is contained in:
cachho 2022-12-14 12:04:30 +01:00 committed by GitHub
parent cf3ccaf46a
commit c78cf0bc17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,10 @@ Installation
You need a working [Go](https://golang.org/) installation (I used Go 1.12 on Ubuntu Linux 18.04)
For Go >= 1.17, you can install the tool and required libraries with:
go install github.com/sammiq/dec-decode@latest
For Go < 1.11 the you will need to install the required libraries manually:
go get github.com/jessevdk/go-flags