Help us shape the future of Go! Take the 2026 Go Developer Survey

version

package
v0.9.0 Latest Latest
Warning

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

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

Documentation

Overview

Package version exposes build identity. Values are overridable at build time via -ldflags so releases stamp the real version/commit. There is NO network version check here — any "you're N versions behind" hint is a local log line only (see SECURITY.md / COMPATIBILITY.md).

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the semantic version of this build.
	Version = "0.9.1-dev"
	// Commit is the git commit this binary was built from.
	Commit = "unknown"
	// Date is the build date (RFC3339), stamped at release.
	Date = "unknown"
)

These are set via -ldflags "-X github.com/prashar32/riskkernel/internal/version.Version=..."

Functions

func String

func String() string

String returns a human-readable build identifier.

Types

This section is empty.

Jump to

Keyboard shortcuts

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