HellPot/cmd/main.go

25 lines
387 B
Go
Raw Normal View History

package main
import (
"github.com/rs/zerolog"
"github.com/yunginnanet/HellPot/config"
"github.com/yunginnanet/HellPot/extra"
)
var log zerolog.Logger
func init() {
config.Init()
log = config.Logger()
extra.Banner()
if config.Debug {
log.Debug().Msg("debug enabled")
}
log.Info().Str("config", config.Filename).Msg("initialization finished")
}
func main() {
startPot()
}