{"modulePath":"github.com/deepsourcelabs/cli","version":"v0.10.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package version\n\n## Functions\n\n```go\nfunc SetBuildInfo(version, dateStr, gitTreeState, gitCommit string)\n```\nSet's the build info as a package global.\n\n## Types\n\n```go\ntype BuildInfo struct {\n\t// Version is the current semver.\n\tVersion string `json:\"version,omitempty\"`\n\t// Date is the build date.\n\tDate time.Time `json:\"date,omitempty\"`\n\t// gitTreeState is the state of the git tree.\n\tGitTreeState string `json:\"git_tree_state,omitempty\"`\n\t// GitCommit is the git sha1.\n\tGitCommit string `json:\"git_commit,omitempty\"`\n}\n```\nBuildInfo describes the compile time information.\n\n```go\nfunc GetBuildInfo() *BuildInfo\n```\nGetBuildInfo returns the package global \\`buildInfo\\`\n\n```go\nfunc (bi BuildInfo) String() string\n```\n\n","path":"github.com/deepsourcelabs/cli/version","name":"version","synopsis":"","isRedistributable":true}
