Chore: project init
This commit is contained in:
11
internal/download/model.go
Normal file
11
internal/download/model.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package download
|
||||
|
||||
import "gorm.io/gorm"
|
||||
|
||||
type Info struct {
|
||||
gorm.Model
|
||||
URL string `gorm:"not null"`
|
||||
Version string `gorm:"not null"`
|
||||
FileName string `gorm:"not null"`
|
||||
FileSize string `gorm:"not null"`
|
||||
}
|
||||
Reference in New Issue
Block a user