String return version info as JSON
()
| 39 | |
| 40 | // String return version info as JSON |
| 41 | func String() string { |
| 42 | if data, err := json.Marshal(GetVersionInfo()); err == nil { |
| 43 | return string(data) |
| 44 | } |
| 45 | return "" |
| 46 | } |
| 47 | |
| 48 | // GetVersion return the exact version of this build |
| 49 | func GetVersion() string { |
no test coverage detected