Archived
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/context/exported.go

25 lines
490 B
Go
Raw Normal View History

2018-11-29 20:32:51 +04:00
// Fantasy World Zookeeper Bot
// Copyright (c) 2018 Vladimir "fat0troll" Hodakov
package context
import (
"github.com/rs/zerolog"
2019-10-08 09:13:54 +04:00
"source.hodakov.me/fat0troll/fwzookeeper/internal/config"
2018-11-29 20:32:51 +04:00
)
// VERSION is the current bot's version
2019-10-08 10:56:02 +04:00
const VERSION = "0.1.1"
2018-11-29 20:32:51 +04:00
// 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
}