7 ms·
> Unlike in every single one of those other languages, this Golang decision means that you can't pin to a specific minor version Yes, it is possible to pin to
by UkiahSmith 6y ago
> Unlike in every single one of those other languages, this Golang decision means that you can't pin to a specific minor version
Yes, it is possible to pin to minor version.
The version is specified in the `go.mod` file.
Look at this [go.mod example](https://github.com/ukiahsmith/modbin1/blob/main/go.mod https://github.com/ukiahsmith/modbin1/blob/main/go.mod).
The upstream `modlib1` library at v4 has tagged versions for v4.0.0 and v4.1.0. The go.mod file pins the version to the _older_ v4.0.0.