tsoding/snitch

go get: installing executables with 'go get' in module mode is deprecated

Ciremun opened this issue · 3 comments

C:\Users\Ciremun>go get github.com/tsoding/snitch
go: downloading github.com/tsoding/snitch v0.0.0-20211124122013-da4c8d5c1ca9
go: downloading gopkg.in/ini.v1 v1.62.0
go: downloading github.com/pkg/errors v0.9.1
go: downloading gopkg.in/yaml.v2 v2.3.0
go get: installing executables with 'go get' in module mode is deprecated.
        Use 'go install pkg@version' instead.
        For more information, see https://golang.org/doc/go-get-install-deprecation
        or run 'go help get' or 'go help install'.

rexim commented

@Ciremun oh, thanks for letting me know! I just tried go install github.com/tsoding/snitch and seems to work. I guess we just need to update documentation...

go install github.com/tsoding/snitch@latest is the new way

@rexim Can you update README.md, please?