chore: clean .gitignore cache
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
// Package version provides build version information.
|
||||
package version
|
||||
|
||||
const (
|
||||
// Name of the application
|
||||
Name = "Charon"
|
||||
)
|
||||
|
||||
var (
|
||||
// Version is the semantic version
|
||||
Version = "0.3.0"
|
||||
// BuildTime is set during build via ldflags
|
||||
BuildTime = "unknown"
|
||||
// GitCommit is set during build via ldflags
|
||||
GitCommit = "unknown"
|
||||
)
|
||||
|
||||
// Full returns the complete version string.
|
||||
func Full() string {
|
||||
if BuildTime != "unknown" && GitCommit != "unknown" {
|
||||
return Version + " (commit: " + GitCommit + ", built: " + BuildTime + ")"
|
||||
}
|
||||
return Version
|
||||
}
|
||||
Reference in New Issue
Block a user