version

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: MIT, Apache-2.0, MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const BuildVersion = "1.2.0"

BuildVersion is the local build version, set by build system

Variables

View Source
var CurrentCommit string
View Source
var UserVersion = BuildVersion + CurrentCommit

Functions

This section is empty.

Types

type Version

type Version uint32
var APIVersion Version = newVer(1, 1, 0)

APIVersion is a semver version of the rpc api exposed

func (Version) EqMajorMinor

func (ve Version) EqMajorMinor(v2 Version) bool

func (Version) Ints

func (ve Version) Ints() (uint32, uint32, uint32)

Ints returns (major, minor, patch) versions

func (Version) String

func (ve Version) String() string

Jump to

Keyboard shortcuts

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