version

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package version carries the server binary build metadata. The build scripts and the Dockerfile inject all three via -ldflags -X, so a running server can report the exact version, git commit, and build time it was produced from (`metaxisdata --version` and `GET /api/version`). A plain `go build` leaves the defaults below.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the release version, "dev" for a local build.
	Version = "dev"
	// GitCommit is the commit the binary was built from, "unknown" outside a
	// build that passes it.
	GitCommit = "unknown"
	// BuildTime is the UTC build timestamp in RFC 3339 form.
	BuildTime = "unknown"
)

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