package registry import ( "time" "gorm.io/gorm" ) // Repository ???? type Repository 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:"-"` Name string `gorm:"uniqueIndex;not null" json:"name"` // ?????? "library/nginx" }