version

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package version holds the build metadata stamped at link time. It has no dependencies so anything, including the hello event, can read it.

Index

Constants

This section is empty.

Variables

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

Stamped by goreleaser via ldflags; the defaults describe a source build.

Functions

func Resolve

func Resolve() string

Resolve returns the version, preferring the ldflags stamp and falling back to module build info for a plain go install.

Types

This section is empty.

Jump to

Keyboard shortcuts

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