version

package
v0.13.0 Latest Latest
Warning

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

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

Documentation

Overview

Package version carries the build-time identity of the maping-server binary. The values are injected by the linker from the Makefile and the Dockerfile; a build that does not pass the flags (plain `go build`, `go test`) keeps the placeholders rather than failing, so tests and local runs need no stamping.

Index

Constants

This section is empty.

Variables

View Source
var Commit = "none"

Commit is the git revision the binary was built from, injected at link time alongside Version. It is "none" for an unstamped build.

View Source
var Version = "dev"

Version is the released semver of this binary, injected at link time with -X github.com/arhuman/maping/server/internal/version.Version=vX.Y.Z. It is "dev" for any build that did not pass the flag; callers must not parse it as semver without checking for that placeholder first.

Functions

func String

func String() string

String renders the single line printed by `maping-server --version`. The shape is "maping-server <version> (<commit>)" and is meant for humans and support tickets, not for machine parsing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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