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
const AsciiLogo = `` /* 1361-byte string literal not displayed */
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.
Click to show internal directories.
Click to hide internal directories.