github / git-sizer

Compute various size metrics for a Git repository, flagging those that might cause problems
MIT License
3.48k stars 139 forks source link

go get: installing executables with 'go get' in module mode is deprecated #98

Closed vit1251 closed 10 months ago

vit1251 commented 2 years ago

Use section compile from source in docs/BUILDING.md execute go get receive next output:

$ go get github.com/github/git-sizer
go: downloading github.com/github/git-sizer v1.5.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/cli/safeexec v1.0.0
go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
go get: installing executables with 'go get' in module mode is deprecated.
    Use 'go install pkg@version' instead.
    For more information, see https://golang.org/doc/go-get-install-deprecation
    or run 'go help get' or 'go help install'.

Use go version 1.17.1

adam-azarchs commented 1 year ago

This is a documentation issue. It should be go install github.com/github/git-sizer@latest

vit1251 commented 10 months ago

Thanks.