version

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package version holds the build's identity, set at link time with -X.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the released version of Dicer.
	Version = "0.0.0"

	// BuildDate is when the binary was built.
	BuildDate = "1970-01-01T00:00:00Z"

	// Commit is the Git SHA the binary was built from.
	Commit = ""
)

Build identity. The defaults are those of a build without -X.

Functions

func String

func String() string

String describes the build: "0.1.0 (built 2026-09-23T10:00:00Z from commit 1a2b3c4)". The commit is left out when Commit is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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