package registry import ( "time" "gorm.io/gorm" ) // RegistryConfig registry ????? type RegistryConfig struct { ID uint `gorm:"primarykey" json:"id"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` DeletedAt gorm.DeletedAt `gorm:"index" json:"-"` Key string `gorm:"uniqueIndex;not null" json:"key"` // ???? key Value string `gorm:"type:text" json:"value"` // ???? value }