overlord/overlord.go

16 lines
286 B
Go
Raw Normal View History

2021-09-09 01:28:05 +00:00
package main
import (
2021-09-09 18:49:33 +00:00
log "bitsnthings.dev/overlord/src/log"
overlord "bitsnthings.dev/overlord/src/state"
2021-09-09 01:28:05 +00:00
)
func main() {
2021-09-09 18:49:33 +00:00
log.PrintLog(log.INFO, "Starting Overlord.")
2021-09-09 01:28:05 +00:00
state := overlord.NewState()
state.Setup()
state.MainLoop()
2021-09-09 01:28:05 +00:00
state.Stop()
2021-09-09 18:49:33 +00:00
log.PrintLog(log.TRACE, "Done.")
2021-09-09 01:28:05 +00:00
}