Disclose go version in info message.
This commit is contained in:
parent
66843c000e
commit
4dcacaec15
4
main.go
4
main.go
|
@ -10,6 +10,7 @@ import (
|
|||
"flag"
|
||||
"fmt"
|
||||
"log"
|
||||
"runtime"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
|
@ -139,5 +140,6 @@ func HandleMessage(m *irc.Message) {
|
|||
}
|
||||
|
||||
func SoftwareInfo() string {
|
||||
return fmt.Sprintf("flokatirc %s-%s (built %s)", version.FlokatiVersion, version.FlokatiBuild, version.FlokatiBuilddate)
|
||||
return fmt.Sprintf("flokatirc %s-%s (built %s [%])", version.FlokatiVersion,
|
||||
version.FlokatiBuild, version.FlokatiBuilddate, runtime.Version())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue