()
| 49 | var executableHash = "unknown" |
| 50 | |
| 51 | func getExecutableHash() string { |
| 52 | executableHashOnce.Do(func() { |
| 53 | if hash, err := getExecutableHashInner(); err == nil { |
| 54 | executableHash = hash |
| 55 | } |
| 56 | }) |
| 57 | return executableHash |
| 58 | } |
| 59 | |
| 60 | func GetCanonicalString() string { |
| 61 | ret := fmt.Sprintf("%s-%s", Release, CommitHash) |
no test coverage detected