When I tried to use the go get, I get errors about being outside of a module. The message says to use go install instead. This is a change since Go 1.17.
go: go.mod file not found in current directory or any parent directory.
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
When I tried to use the
go get
, I get errors about being outside of a module. The message says to usego install
instead. This is a change since Go 1.17.