version

package
v0.1.1-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package version exposes build metadata injected into release binaries.

Index

Constants

View Source
const Program = "relayer"

Variables

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

Version and Commit are variables so release builds can set them with -ldflags -X. Development builds remain explicit instead of pretending to be a released semantic version.

Functions

func String

func String() string

String returns the stable, single-line representation used by --version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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