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