Archiviato
1

Removed doubled log from appcontext package

This commit is contained in:
2017-10-27 07:51:46 +04:00
parent 4672299afb
commit a9e42d7248
2 ha cambiato i file con 2 aggiunte e 3 eliminazioni

Vedi 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)
}

Vedi File

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