Documentation
¶
Overview ¶
Package internal provides core application constants and metadata.
Index ¶
Constants ¶
View Source
const ( // ApplicationName is the name of the Grant application. ApplicationName = "grant" // NotProvided is the value used when a build variable was not provided NotProvided = "[not provided]" )
Variables ¶
This section is empty.
Functions ¶
func ApplicationVersion ¶
func ApplicationVersion() string
ApplicationVersion returns the current version for backward compatibility
func SetBuildInfo ¶ added in v0.3.1
func SetBuildInfo(ver, commit, date, desc, goVer string)
SetBuildInfo sets build information from main package
Types ¶
type BuildInfo ¶ added in v0.3.1
type BuildInfo struct {
Application string
Version string
BuildDate string
GitCommit string
GitDescription string
Platform string
GoVersion string
Compiler string
}
BuildInfo holds the application build details
func GetBuildInfo ¶ added in v0.3.1
func GetBuildInfo() BuildInfo
GetBuildInfo returns the current build information
Directories
¶
| Path | Synopsis |
|---|---|
|
Code generated by internal/licensepatterns/generate/generate_patterns.go; DO NOT EDIT.
|
Code generated by internal/licensepatterns/generate/generate_patterns.go; DO NOT EDIT. |
|
generate
command
|
|
|
Code generated by internal/spdxlicense/generate/generate_license_index.go; DO NOT EDIT.
|
Code generated by internal/spdxlicense/generate/generate_license_index.go; DO NOT EDIT. |
|
generate
command
|
|
Click to show internal directories.
Click to hide internal directories.