Get returns the overall codebase version. It's for detecting what code a binary was built from.
()
| 24 | // Get returns the overall codebase version. It's for detecting |
| 25 | // what code a binary was built from. |
| 26 | func Get() Info { |
| 27 | return Info{ |
| 28 | GitVersion: gitVersion, |
| 29 | GitCommit: gitCommit, |
| 30 | GitTreeState: gitTreeState, |
| 31 | BuildDate: buildDate, |
| 32 | GoVersion: runtime.Version(), |
| 33 | Compiler: runtime.Compiler, |
| 34 | Platform: fmt.Sprintf("%s/%s", runtime.GOOS, runtime.GOARCH), |
| 35 | } |
| 36 | } |
no outgoing calls
no test coverage detected