cmd

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

func ExecuteContext

func ExecuteContext(ctx context.Context) error

func SetVersion

func SetVersion(version, commit, buildTime string)

SetVersion records the build information main.go received through -X. Only goreleaser and the nix package set those, so `go install github.com/melqtx/ xeet@latest` would otherwise report "dev" forever. Fall back to the data the go tool stamps into every binary: the module version for `go install`, and the VCS revision/time for a plain `go build` in a checkout.

Types

This section is empty.

Jump to

Keyboard shortcuts

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