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