diff --git a/loader.go b/loader.go index ada36ae..a8ee167 100644 --- a/loader.go +++ b/loader.go @@ -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 */ diff --git a/types.go b/types.go index 1c22f9f..c1ef456 100644 --- a/types.go +++ b/types.go @@ -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 }