Unknown %!s(int64=11) %!d(string=hai) anos
pai
achega
c2816afe9c
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      serve.go

+ 4 - 0
serve.go

@@ -45,6 +45,10 @@ func In(b string, sl map[string]int) bool {
 }
 
 func runServ(*cli.Context) {
+	base.NewConfigContext()
+	models.LoadModelsConfig()
+	models.NewEngine()
+
 	keys := strings.Split(os.Args[2], "-")
 	if len(keys) != 2 {
 		fmt.Println("auth file format error")