Migrate from Go get to Go Install
https://go.dev/doc/go-get-install-deprecation
In Go 1.17, go get was deprecated. In Go 1.18 it was disabled.
Use
go install github.com/user/package@latest
The tl;dr is use install instead of get but updating is different.
Instead of go get -u
you will use the same install command and modify the version tag (or keep with latest)