This commit is contained in:
parent
83fe748567
commit
e15708fb6b
5
main.go
5
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
|
||||
|
Loading…
Reference in New Issue
Block a user