nikitavoloboev / gitupdate

Commit and push updated files with file names as commit message
MIT License
105 stars 9 forks source link

Installation instructions to run go get don't work #17

Open amardeep opened 2 years ago

amardeep commented 2 years ago

Bug 🐞

Running go get -u github.com/nikitavoloboev/gitupdate fails with following error:

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'.

Running following does work:

go install  github.com/nikitavoloboev/gitupdate@latest
➜  ~ go version
go version go1.18.3 darwin/arm64
nikitavoloboev commented 2 years ago

Thanks. Fixed the readme. ♥️