Versions in this module Expand all Collapse all v0 v0.1.1 Oct 26, 2026 v0.1.0 Oct 26, 2026 Changes in this version + const UnknownVersion + type Bump string + const BumpInherit + const BumpMajor + const BumpMinor + const BumpPatch + type Core struct + Major uint64 + Minor uint64 + Patch uint64 + func ParseCore(s string) (Core, error) + func (c Core) Bump(b Bump) (Core, error) + func (c Core) String() string + type Info struct + BuildTime string + Commit string + Version string + func Current(injected Info) (Info, error) + func ReadBuildInfo() Info + func Resolve(injected, embedded Info) (Info, error) + type Version struct + Core Core + Date time.Time + PR uint64 + Snapshot bool + func Next(previous Core, commitTime time.Time, pr uint64, bump Bump) (Version, error) + func Parse(s string) (Version, error) + func ParseTag(s string) (Version, bool, error) + func (v Version) String() string + func (v Version) Tag() (string, error)