1

Update dependencies

This commit is contained in:
2019-02-12 03:06:00 +04:00
parent 3c9390a295
commit 89a4edb13f
11 changed files with 13 additions and 19 deletions

View File

@@ -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"

View File

@@ -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
}