package
Version:
v0.3.10
Opens a new window with list of versions in this module.
Published: Oct 10, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package version owns the Version struct plus Parse/String helpers.
type Version struct {
Major int
Minor int
Fix int
}
Version carries a router or plugin API number.
Parse builds a Version from "X.Y[.Z]" with an optional "v" prefix.
"X.Y" reads as Fix 0. Extra whitespace around components is allowed.
String renders "X.Y" when Fix is 0, otherwise "X.Y.Z".
Source Files
¶
Click to show internal directories.
Click to hide internal directories.