mirror of
https://github.com/rancher/steve.git
synced 2025-09-18 00:08:17 +00:00
Initial commit
This commit is contained in:
12
pkg/version/version.go
Normal file
12
pkg/version/version.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package version
|
||||
|
||||
import "fmt"
|
||||
|
||||
var (
|
||||
Version = "dev"
|
||||
GitCommit = "HEAD"
|
||||
)
|
||||
|
||||
func FriendlyVersion() string {
|
||||
return fmt.Sprintf("%s (%s)", Version, GitCommit)
|
||||
}
|
Reference in New Issue
Block a user