Browse Source

fix: gob

tuon 1 year ago
parent
commit
3b84c21f0f
1 changed files with 0 additions and 3 deletions
  1. 0 3
      app.go

+ 0 - 3
server/main.go → app.go

@@ -1,13 +1,10 @@
 package main
 
 import (
-	"encoding/gob"
 	"github.com/astaxie/beego"
 	_ "nginx-ui/server/init"
-	"nginx-ui/server/models"
 )
 
 func main() {
-	gob.Register(models.User{})
 	beego.Run()
 }