25 lines
387 B
Go
25 lines
387 B
Go
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()
|
|
}
|