go-jamming/main.go

20 lines
367 B
Go
Raw Normal View History

package main
2021-04-07 10:06:16 +02:00
import (
"os"
2021-04-09 18:04:04 +02:00
"brainbaking.com/go-jamming/app"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
2021-04-07 10:06:16 +02:00
)
func main() {
zerolog.TimeFieldFormat = zerolog.TimeFormatUnix
// TODO this should only be enabled in local mode. Fix with config?
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr})
log.Debug().Msg("Let's a go!")
2021-04-07 10:06:16 +02:00
app.Start()
}