25 lines
504 B
Go
25 lines
504 B
Go
// Fantasy World Zookeeper Helper Bot
|
|
// Copyright (c) 2018 Vladimir "fat0troll" Hodakov
|
|
|
|
package context
|
|
|
|
import (
|
|
"github.com/rs/zerolog"
|
|
"source.hodakov.me/fat0troll/fwzookeeper_helper/internal/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
|
|
}
|
|
|
|
// NewContext is an initialization function for Context
|
|
func NewContext() *Context {
|
|
c := &Context{}
|
|
return c
|
|
}
|