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