new: zerolog beautiful output
This commit is contained in:
parent
05de71a2d6
commit
eb137a49b7
3
main.go
3
main.go
@ -10,10 +10,13 @@ import (
|
||||
|
||||
"github.com/go-co-op/gocron"
|
||||
"github.com/joho/godotenv"
|
||||
"github.com/rs/zerolog"
|
||||
"github.com/rs/zerolog/log"
|
||||
)
|
||||
|
||||
func main() {
|
||||
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr})
|
||||
|
||||
godotenv.Load() //nolint:errcheck
|
||||
|
||||
wallets := strings.Split(os.Getenv("ADDRESS"), ",")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user