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) } }