watcher
watcher copied to clipboard
go get command deprecated starting go v1.17
Steps:
- Installed Go v1.17.1.
- Trying to install using documented command:
go get -u github.com/radovskyb/watcher/... - Got error:
go: downloading github.com/radovskyb/watcher v1.0.7
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'.
I got the same problem, did you fix it ?
This worked for me (1.19)
go install github.com/radovskyb/watcher/...@latest