diff --git a/netutil/engine.go b/engine/engine.go similarity index 97% rename from netutil/engine.go rename to engine/engine.go index fe998f2..ac11145 100644 --- a/netutil/engine.go +++ b/engine/engine.go @@ -1,4 +1,4 @@ -package netutil +package engine import ( "bytes" @@ -13,7 +13,7 @@ type Engine struct { Template *template.Template } -func NewEngine(name string) *Engine { +func New(name string) *Engine { Ename := "E" + name if Ename == "E" { Ename = "Engine"