Discover Packages
github.com/uvasoftware/scanii-cli
internal
buildinfo
package
Version:
v1.12.0
Opens a new window with list of versions in this module.
Published: Aug 30, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package buildinfo reports the identity of the running binary: the release
version, the build date and the User-Agent we present to the Scanii API.
Date returns the build date of the running binary.
UserAgent returns the User-Agent header value sent with every API request,
for example: scanii-cli/1.4.2 (go1.26; darwin/arm64)
Version returns the version of the running binary. Release builds carry it in
the version ldflag, `go install`ed binaries carry it in the module version and
local builds fall back to the VCS revision recorded by the toolchain.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.