version

package
v1.12.3 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VersionInfo

type VersionInfo struct {
	Application string `json:"application"`
	Version     string `json:"version"`
	Revision    string `json:"revision,omitempty"`
	Branch      string `json:"branch,omitempty"`
	ReleaseDate string `json:"releaseDate,omitempty"`
	GoVersion   string `json:"goVersion"`
	GoPlatform  string `json:"goPlatform"`
}

VersionInfo is a rich representation of the version information which can also be readily serialized into a JSON representation

var Info VersionInfo

func (VersionInfo) HumanReadable

func (v VersionInfo) HumanReadable() string

Jump to

Keyboard shortcuts

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