version

package
v2.20.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBuildFlags

func GetBuildFlags() string

Types

type Version

type Version struct {
	Copyright  string `json:"copyright"`
	Version    string `json:"version"`
	GoVersion  string `json:"go_version"`
	Changelog  string `json:"changelog"`
	CommitHash string `json:"hash"`
	Date       string `json:"date"`
	Compiler   string `json:"compiler"`
	Platform   string `json:"platform"`
}

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