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

version

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package version holds build metadata injected via -ldflags.

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "dev"
	Commit  = "none"
	Date    = "unknown"
)

Functions

func Effective added in v0.2.0

func Effective() string

Effective includes module version metadata for `go install ...@version` builds.

func String

func String() string

String returns a human-readable version line.

Types

This section is empty.

Jump to

Keyboard shortcuts

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