Hi,
I would like to ask if there is a functionality similar to apt-mark hold (which prevents package from being automatically installed, upgraded or removed) in go modules.
The case I have is that after updating a package from 1.2.2 to 1.3.0, a bug was introduced which can break the app in some cases edge cases (when parsing specific json responses) on runtime.
I want to lock down the version to 1.2.2 and make sure that this package is not updated when someone runs go get -u until the bug is fixed.
replace
github.com/vendor/package =>
github.com/vendor/package v1.2.2
Is this the correct way? Is there any other solution?
thank you