buildinfo

package
v1.0.80 Latest Latest
Warning

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

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

Documentation

Overview

Package buildinfo exposes the RelSpec version and build date so that both the CLI and the schema writers can stamp generated output with the same values.

Index

Constants

View Source

Variables

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

Version and BuildDate are set via -ldflags at build time (see Makefile). When built without ldflags they are backfilled from the Go module build info.

Functions

func GeneratedComment

func GeneratedComment() string

GeneratedComment returns the one-line provenance string embedded in generated files, e.g. "RelSpec dev (built: unknown)".

Types

This section is empty.

Jump to

Keyboard shortcuts

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