version

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 7

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