Archived
1

Removed doubled log from appcontext package

This commit is contained in:
Vladimir Hodakov 2017-10-27 07:51:46 +04:00
parent 4672299afb
commit a9e42d7248
2 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,6 @@
package appcontext
import (
"log"
// stdlib
"encoding/json"
"net/http"
@ -70,5 +69,5 @@ func (c *Context) StartHTTPListener() {
c.Log.Info("HTTP server started at http://" + c.Cfg.HTTPListener.Host + ":" + c.Cfg.HTTPListener.Port)
err := http.ListenAndServe(c.Cfg.HTTPListener.Host+":"+c.Cfg.HTTPListener.Port, c.HTTPServerMux)
log.Fatalln(err)
c.Log.Fatalln(err)
}

View File

@ -1,7 +1,7 @@
package appcontext
var (
a *Context
с *Context
)
// New is a Context creation function