Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Verbose bool LogLevel string )
View Source
var Version = resolveVersion()
Version is the ctm version string. It is resolved at runtime from Go's build info when installed via `go install github.com/RandomCodeSpace/ctm@vX.Y.Z` (Go module metadata carries the tag). For local `go build` from source, debug.ReadBuildInfo returns "(devel)" and we fall back to "dev".
This variable is also overridable at build time via ldflags for custom distributions:
go build -ldflags "-X github.com/RandomCodeSpace/ctm/cmd.Version=v1.2.3"
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.