Update README with usage instructions, prepare to first release

This commit is contained in:
2019-03-30 08:07:13 +04:00
parent 6be8ec6672
commit 7a188bcbaa
5 changed files with 136 additions and 14 deletions

View File

@@ -61,8 +61,6 @@ func (c *Context) Init() {
c.Logger = zerolog.New(zerolog.ConsoleWriter{Out: os.Stdout}).With().Timestamp().Logger()
c.Logger = c.Logger.Hook(zerolog.HookFunc(c.getMemoryUsage))
c.Logger.Info().Str("version", VERSION).Msg("yapusher is starting")
dlog = c.Logger.With().Str("domain", "context").Logger()
}

View File

@@ -9,9 +9,6 @@ import (
"gitlab.com/pztrn/flagger"
)
// VERSION is the current app version
const VERSION = "0.0.1"
var (
dlog zerolog.Logger
)