This helps to avoid circular includes, by separating the pure data out from the actual functionality in the cli subpackage, allowing other code which is imported to access the data. Signed-off-by: Ian Campbell <ijc@docker.com>
11 lines
222 B
Go
11 lines
222 B
Go
package version
|
|
|
|
// Default build-time variable.
|
|
// These values are overridden via ldflags
|
|
var (
|
|
PlatformName = ""
|
|
Version = "unknown-version"
|
|
GitCommit = "unknown-commit"
|
|
BuildTime = "unknown-buildtime"
|
|
)
|