// Fantasy World Zookeeper Helper Bot
// Copyright (c) 2018 Vladimir "fat0troll" Hodakov
package context
import (
"github.com/rs/zerolog"
"lab.wtfteam.pro/fat0troll/fw_zookeeper_helper/local/config"
)
// VERSION is the current bot's version
const VERSION = "0.0.2"
// Context is the main application context.
type Context struct {
Config *config.Struct
Logger zerolog.Logger
ShutdownDone chan bool
}
// NewContext is an initialization function for Context
func NewContext() *Context {
c := &Context{}
c.ShutdownDone = make(chan bool, 1)
return c