version

package
v0.0.0-...-fe93d16 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package version exposes build-time identity for substrate binaries. Values are set via -ldflags -X at build time; if unset, init() falls back to runtime/debug.ReadBuildInfo() so plain `go build` / `go install` still produce something meaningful.

Index

Constants

This section is empty.

Variables

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

Functions

func String

func String() string

String returns a human-readable single-line version summary, formatted to sit cleanly after cobra's auto "<binary> version " prefix.

Types

This section is empty.

Jump to

Keyboard shortcuts

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