Refactor some reflection

This commit is contained in:
Jamie Curnow committed 2023-07-24 13:42:50 +10:00
1 parent d437c6b743
commit aae95798b2
20 files changed
+287 -300

No files matched your search

+2 -2
View File
@@ -2,14 +2,14 @@ package jwt
import (
"npm/internal/database"
"npm/internal/entity"
"npm/internal/model"
)
var currentKeys KeysModel
// KeysModel is the model
type KeysModel struct {
entity.ModelBase
model.ModelBase
PublicKey string `gorm:"column:public_key"`
PrivateKey string `gorm:"column:private_key"`
}