Install golang-github-hashicorp-go-version-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-hashicorp-go-version-dev
Description:
library for parsing and verifying versions and version constraints
go-version is a library for parsing versions and version constraints, and verifying versions against a set of constraints. go-version can sort a collection of versions properly, handles prerelease/beta versions, can increment versions, etc. Versions used with go-version must follow SemVer.
Homepage: https://github.com/hashicorp/go-version
Version: 0.0~git20171129.4fe82ae-3
Section: universe/devel