Update dependencies
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
"github.com/rs/zerolog"
|
||||
"gopkg.in/yaml.v2"
|
||||
"io/ioutil"
|
||||
"lab.wtfteam.pro/fat0troll/fw_zookeeper_helper/local/config"
|
||||
"lab.wtfteam.pro/fat0troll/fw_zookeeper_helper/internal/config"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
|
@@ -5,7 +5,7 @@ package context
|
||||
|
||||
import (
|
||||
"github.com/rs/zerolog"
|
||||
"lab.wtfteam.pro/fat0troll/fw_zookeeper_helper/local/config"
|
||||
"lab.wtfteam.pro/fat0troll/fw_zookeeper_helper/internal/config"
|
||||
)
|
||||
|
||||
// VERSION is the current bot's version
|
||||
@@ -13,14 +13,12 @@ const VERSION = "0.0.2"
|
||||
|
||||
// Context is the main application context.
|
||||
type Context struct {
|
||||
Config *config.Struct
|
||||
Logger zerolog.Logger
|
||||
ShutdownDone chan bool
|
||||
Config *config.Struct
|
||||
Logger zerolog.Logger
|
||||
}
|
||||
|
||||
// NewContext is an initialization function for Context
|
||||
func NewContext() *Context {
|
||||
c := &Context{}
|
||||
c.ShutdownDone = make(chan bool, 1)
|
||||
return c
|
||||
}
|
||||
|
Reference in New Issue
Block a user