Added version Info
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Stefan Hoffmann 2021-01-02 12:32:38 +01:00
parent 83fe748567
commit e15708fb6b

View File

@ -22,8 +22,11 @@ const (
// flags // flags
var token = flag.String("token", "", "Defines the x-auth-token") var token = flag.String("token", "", "Defines the x-auth-token")
var version = "development"
func main() { func main() {
log.Println("starting version", version, "...")
// parse all flags // parse all flags
flag.Parse() flag.Parse()
@ -32,8 +35,6 @@ func main() {
log.Fatalln("Please specify an API token via the flag '-token'") log.Fatalln("Please specify an API token via the flag '-token'")
} }
log.Println("starting...")
// Variables for runtime // Variables for runtime
var links []link var links []link
var nodes []node var nodes []node