asdf-community / asdf-golang

Go plugin for the asdf version manager
https://github.com/asdf-vm/asdf
MIT License
549 stars 92 forks source link

Fix missing minor version when parsing go.mod #66

Closed Frederick888 closed 2 years ago

Frederick888 commented 2 years ago

The minor version was missing since the group in the last regexp captured only digits.

Closes #65.

kennyp commented 2 years ago

Thanks for the PR @Frederick888, but the current behavior is actually what is intended based on how go.mod is described in the go docs.

https://github.com/kennyp/asdf-golang#version-selection