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: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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