gruntwork-io / git-xargs

git-xargs is a command-line tool (CLI) for making updates across multiple Github repositories with a single command.
https://blog.gruntwork.io/introducing-git-xargs-an-open-source-tool-to-update-multiple-github-repos-753f9f3675ec
Apache License 2.0
933 stars 63 forks source link

Use `go install` #91

Closed briandfoy closed 2 years ago

briandfoy commented 2 years ago

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'.
zackproser commented 2 years ago

Thanks for your contribution @briandfoy! - LGTM and I confirmed that I see the same thing locally you do.