asdf-golang/bin
Craig Furman bc51a8097f
Use highest matching minor version from go.mod (#50)
The go directive in go.mod files is of the format `major.minor`. This
commit will allow the highest installed version of go with the same
major component to be selected. The previous behaviour was to use the
highest installed version with the same major _and_ minor components,
but I don't think this was strictly necessary. It is valid to use go
1.16 to build a project whose go.mod declares "go 1.14", for example.
For packages within the module, the compiler should reject use of
language features introduced after the version specified by the go
directive.

I think this adheres more closely to the expected behaviour of programs
that parse `go.mod`, and asdf users who need to pin a particular minor
or patch version of go can use `.tool-versions` or `.go-version`.

Source: https://golang.org/ref/mod#go-mod-file-go
2021-06-16 08:04:20 -04:00
..
download Exit when download status 404 or 403 (#55) 2021-06-15 20:42:59 -04:00
exec-env Add bin/download per latest asdf guidelines (#45) 2021-01-04 17:36:54 -05:00
help.deps Add help texts per plugin guidelins. (#46) 2021-01-04 19:19:48 -05:00
help.links Add help texts per plugin guidelins. (#46) 2021-01-04 19:19:48 -05:00
help.overview Add help texts per plugin guidelins. (#46) 2021-01-04 19:19:48 -05:00
install Add bin/download per latest asdf guidelines (#45) 2021-01-04 17:36:54 -05:00
list-all Add bin/download per latest asdf guidelines (#45) 2021-01-04 17:36:54 -05:00
list-bin-paths Update list-bin-paths 2018-01-05 15:44:13 +01:00
list-legacy-filenames Extract version from go.mod files (#32) 2020-06-16 18:08:17 -04:00
parse-legacy-file Use highest matching minor version from go.mod (#50) 2021-06-16 08:04:20 -04:00
uninstall fixes #38 (#39) 2020-12-08 13:38:53 -05:00