version

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: Zlib Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Current   = Version{0, 6, 1, ""}
	Copyright = "Copyright (c) 2019-2021 Andreas T Jonsson"
	Hash      = "eb047da2744bea1b201ec602a6138aa98631c4ba"
)

Functions

This section is empty.

Types

type Version

type Version struct {
	Major, Minor, Patch byte
	Build               string
}

func New

func New(major, minor, patch byte) Version

func NewFromSlice

func NewFromSlice(v []byte) Version

func (Version) Compatible

func (v Version) Compatible(ver Version) bool

func (Version) Equal

func (v Version) Equal(ver Version) bool

func (Version) FullString

func (v Version) FullString() string

func (Version) Slice

func (v Version) Slice() []byte

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