🔨 switch fiber to gin

This commit is contained in:
微凉
2021-11-13 15:53:26 +08:00
parent 65ec4e3611
commit cf07b3921c
22 changed files with 320 additions and 252 deletions

View File

@ -8,7 +8,7 @@ import (
)
type Account struct {
Name string `json:"name" gorm:"primaryKey" validate:"required"`
Name string `json:"name" gorm:"primaryKey" binding:"required"`
Index int `json:"index"`
Type string `json:"type"`
Username string `json:"username"`