version

package
v0.0.0-...-63245bf Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Reference: https://semver.org; NOT strictly followed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareVersions

func CompareVersions(v1, v2 *Semver) (int, error)

func SetVersion

func SetVersion(v string)

func Version

func Version() string

Types

type Semver

type Semver struct {
	// contains filtered or unexported fields
}

func GetVersion

func GetVersion() Semver

func Parse

func Parse(vs string) *Semver

Jump to

Keyboard shortcuts

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