Help us shape the future of Go! Take the 2026 Go Developer Survey

version

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Unknown = "unknown"
)

Variables

View Source
var (
	GitVersion = Unknown
	GitCommit  = Unknown
)
View Source
var Version = Context{
	Name:    modulePath,
	Version: GitVersion,
	Commit:  GitCommit,
}

Functions

This section is empty.

Types

type Context added in v0.5.0

type Context struct {
	Name    string `json:"name"`
	Version string `json:"version"`
	Commit  string `json:"commit"`
}

func (*Context) String added in v0.5.0

func (vc *Context) String() string

Jump to

Keyboard shortcuts

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