String returns the version string.
()
| 21 | |
| 22 | // String returns the version string. |
| 23 | func String() string { |
| 24 | version := TTN |
| 25 | if GitCommit != "" && BuildDate != "" { |
| 26 | version += fmt.Sprintf(" (%s, %s)", GitCommit, BuildDate) |
| 27 | } |
| 28 | return version |
| 29 | } |
no outgoing calls
no test coverage detected