Documentation
¶
Overview ¶
Package buildinfo exposes the build version, shared by every netscope binary. The value is injected at build time with:
-ldflags "-X github.com/doldoldol21/netscope/internal/buildinfo.Version=v1.2.3"
Unversioned (go run / plain go build) reports "dev".
Index ¶
Constants ¶
View Source
const Repo = "doldoldol21/netscope"
Repo is the GitHub repository used for update checks.
Variables ¶
View Source
var Version = "dev"
Version is the release version (e.g. "v0.1.0"), or "dev" when not injected.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.