1
This repository has been archived on 2022-11-04. You can view files and clone it, but cannot push or open issues or pull requests.
fwzookeeper_helper/domains/announces/v1/exported.go

23 lines
474 B
Go

// Fantasy World Zookeeper Helper Bot
// Copyright (c) 2018-2019 Vladimir "fat0troll" Hodakov
package announcesv1
import (
"github.com/rs/zerolog"
"source.hodakov.me/fat0troll/fwzookeeper_helper/context"
)
var (
c *context.Context
log zerolog.Logger
)
// New initializes package
func New(cc *context.Context) {
c = cc
log = c.Logger.With().Str("domain", "announces").Int("version", 1).Logger()
log.Info().Msg("Adding announces handler to Telegram instance")
}