version

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Version

type Version struct {
	Version       string  `json:"version"`
	GitTreeState  string  `json:"gitTreeState"`
	GitCommit     string  `json:"gitCommit"`
	BuildDate     string  `json:"buildDate"`
	MajorVersion  *int    `json:"major,omitempty"`
	MinorVersion  *int    `json:"minor,omitempty"`
	PatchVersion  *int    `json:"patch,omitempty"`
	VersionSuffix *string `json:"suffix,omitempty"`
}

func Get

func Get() Version

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