blob: c3cc266fb5c5bd0609c267eeaef28948f2210ac0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package main
import "fmt"
var gitDescribe string
func version() (string, error) {
if gitDescribe == "" {
return "", fmt.Errorf("No version information available")
}
return gitDescribe, nil
}
|