Documentation
¶
Overview ¶
Package buildinfo tells the version of the running binary.
The container image injects it at link time:
go build -ldflags "-X github.com/arnakoff/api/internal/platform/buildinfo.version=0.48.0"
Without it, the version of the main module recorded by the Go toolchain is used, as `go install …@v0.48.0` sets it; a local build is "dev".
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.