优化
This commit is contained in:
@@ -14,6 +14,10 @@ import (
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
type apiRepo struct{ data *Data }
|
||||
|
||||
func NewAPIRepo(data *Data) biz.APIRepo { return &apiRepo{data: data} }
|
||||
|
||||
type apiPO struct {
|
||||
ID uint `gorm:"primaryKey"`
|
||||
CreatedAt time.Time
|
||||
|
||||
Reference in New Issue
Block a user