version

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package version provides shared version information for epack. Variables are set at build time via ldflags.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the semantic version of epack.
	Version = "dev"

	// Commit is the git commit SHA.
	Commit = "unknown"

	// BuildDate is the date the binary was built.
	BuildDate = "unknown"
)

Build-time variables - set via ldflags:

-ldflags "-X github.com/locktivity/epack/internal/version.Version=1.0.0 \
          -X github.com/locktivity/epack/internal/version.Commit=abc123 \
          -X github.com/locktivity/epack/internal/version.BuildDate=2026-01-01"

Functions

This section 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