This repository has been archived on 2026-09-07 . You can view files and clone it. You cannot open issues or pull requests or push a commit.
5fafa3e8d6c5b673ebeaf2b70793be3b3ca1867e
This repository is being archived. Point readers at the standard-library or community package that replaces it. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Important
This repository is archived and no longer maintained.
The version parser here does not implement Semantic Versioning precedence correctly (pre-release identifiers are ignored when ordering), and this problem is solved well by maintained libraries.
Use instead:
github.com/Masterminds/semver/v3— parsing, comparison, and constraint matching (replacesVersionandConstraint).golang.org/x/mod/semver— if you only need to compare canonicalvX.Y.Zstrings.- The
Migrationup/down helper had no third-party equivalent and was only used bygo/sqaffold(also archived). For database migrations usegithub.com/pressly/goose.
Go Version
A simple library for parsing and comparing versions according to Semantic Versioning 2.0.0.
License
See LICENSE.md
Languages
Go
100%