25 lines
489 B
Go
25 lines
489 B
Go
|
// Fantasy World Zookeeper Bot
|
||
|
// Copyright (c) 2018 Vladimir "fat0troll" Hodakov
|
||
|
|
||
|
package context
|
||
|
|
||
|
import (
|
||
|
"github.com/rs/zerolog"
|
||
|
"lab.wtfteam.pro/fat0troll/fw_zookeeper/internal/config"
|
||
|
)
|
||
|
|
||
|
// VERSION is the current bot's version
|
||
|
const VERSION = "0.0.1"
|
||
|
|
||
|
// Context is the main application context.
|
||
|
type Context struct {
|
||
|
Config *config.Struct
|
||
|
Logger zerolog.Logger
|
||
|
}
|
||
|
|
||
|
// NewContext is an initialization function for Context
|
||
|
func NewContext() *Context {
|
||
|
c := &Context{}
|
||
|
return c
|
||
|
}
|