version

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const PRE = "0xDEV"

Variables

This section is empty.

Functions

func IsDev added in v0.2.0

func IsDev(v string) bool

func Prerelease added in v0.2.0

func Prerelease(v string) string

Types

type Version

type Version string

func Current

func Current() Version

Current tryes to read version info from go module being built.

func Parse added in v0.2.0

func Parse(v string) (Version, error)

func (Version) String

func (v Version) String() string

Jump to

Keyboard shortcuts

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