summaryrefslogtreecommitdiff
path: root/src/main.go
blob: 68f2af32f8129822d1982f5664fda0fe4a2433b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// vim: shiftwidth=4 tabstop=4 noexpandtab

package main

import (
	"log"
	"time"
)

func main() {
	log.SetFlags(0)  // disable timestamp because systemd takes care of that
	log.Println("Starting birdscan")
	go runServer()
	for {
		time.Sleep(1 * time.Second)
	}
}