prettylog icon indicating copy to clipboard operation
prettylog copied to clipboard

DOC: Add Golang 1.18 synax

Open neverping opened this issue 2 years ago • 0 comments

On Golang 1.18 and newer, we must pass the version we want to install, such as latest. Otherwise it doesn't work.

$ go install github.com/globocom/prettylog
go: 'go install' requires a version when current directory is not in a module
	Try 'go install github.com/globocom/prettylog@latest' to install the latest version
$ go version
go version go1.20.7 darwin/arm64

neverping avatar Oct 03 '23 10:10 neverping