25 lines
490 B
Go
25 lines
490 B
Go
// Fantasy World Zookeeper Bot
|
|
// Copyright (c) 2018 Vladimir "fat0troll" Hodakov
|
|
|
|
package context
|
|
|
|
import (
|
|
"github.com/rs/zerolog"
|
|
"source.hodakov.me/fat0troll/fwzookeeper/internal/config"
|
|
)
|
|
|
|
// VERSION is the current bot's version
|
|
const VERSION = "0.1.0"
|
|
|
|
// 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
|
|
}
|