samurai/main.go
2021-02-11 12:34:32 +01:00

18 lines
281 B
Go

// nolint: exhaustivestruct
package main
import (
"os"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
"go.xsfx.dev/samurai/cmd"
)
func main() {
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr})
log.Logger = log.With().Caller().Logger()
cmd.Execute()
}