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:
parent
cf3ccaf46a
commit
c78cf0bc17
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue