remove useless 'Server.err'

This commit is contained in:
Adrien Marquès 2018-06-03 11:38:17 +02:00
parent 93e1343dc4
commit d7bc5a6685
2 changed files with 0 additions and 4 deletions

View File

@ -3,7 +3,6 @@ package gfw
import (
"git.xdrm.io/xdrm-brackets/gfw/checker"
"git.xdrm.io/xdrm-brackets/gfw/config"
"git.xdrm.io/xdrm-brackets/gfw/err"
)
// Init initilises a new framework instance
@ -19,7 +18,6 @@ func Init(path string, typeChecker *checker.TypeRegistry) (*Server, error) {
inst := &Server{
config: nil,
Params: make(map[string]interface{}),
err: err.Success,
}
/* (2) Load configuration */

View File

@ -3,12 +3,10 @@ package gfw
import (
"git.xdrm.io/xdrm-brackets/gfw/checker"
"git.xdrm.io/xdrm-brackets/gfw/config"
"git.xdrm.io/xdrm-brackets/gfw/err"
)
type Server struct {
config *config.Controller
Params map[string]interface{}
Checker *checker.TypeRegistry // type check
err err.Error
}