refact: move engine to new mod
parent
f03173b8a9
commit
9dfd98f9a8
|
@ -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"
|
Loading…
Reference in New Issue