Documentation
¶
Overview ¶
Basic semver parsing.
Index ¶
- Constants
- func PadVer(ver1 []string, s int) []string
- func PadVers(ver1 []string, ver2 []string) ([]string, []string)
- func Sort[T any](l []T, f func(T) string)
- func SplitVer(ver string) []string
- func VerAfter(ver1 string, ver2 string) bool
- func VerAfterEq(ver1 string, ver2 string) bool
- func VerEq(ver1 string, ver2 string) bool
Constants ¶
View Source
const (
VerSep = "."
)
Variables ¶
This section is empty.
Functions ¶
func VerAfterEq ¶
Check if ver1 is after or eq to ver2.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.