version

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMajorMinor

func NewMajorMinor(version string) *majmin

func NewSemVer

func NewSemVer(version string) *semver

Types

type MajorMinorIfc

type MajorMinorIfc interface {
	// Embeded Interface(s)
	VersionIfc

	// Our own interface
	GetVersionMajor() int
	GetVersionMinor() int
}

type SemVerIfc

type SemVerIfc interface {
	// Embeded Interface(s)
	VersionIfc

	// Our own interface
	GetVersionMajor() int
	GetVersionMinor() int
	GetVersionPatch() int
}

type VersionIfc

type VersionIfc interface {
	GetVersion() string
	GetScheme() string
	Compare(version VersionIfc) (int, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL