Gelio / go-global-update

A command to update globally installed go executables
MIT License
134 stars 4 forks source link

Add support for go 1.18 #7

Closed Gelio closed 2 years ago

Gelio commented 2 years ago

Handle different go version -m [binary-name] command output on go 1.18 for binaries built from source using go build main.go. The mod line is missing.

go-global-update will assume the binary is not updatable if it was built from source. It will not even check for the latest version of that binary on all go versions now to behave consistently.