Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileInterface ¶
type Fs ¶ added in v0.3.3
type Fs = http.FileSystem
type UploadFile ¶
type UploadFile struct { ID uint64 `gorm:"primary_key" json:"id"` FileName string `gorm:"type:varchar(100);not null" json:"file_name"` OriginalName string `gorm:"type:varchar(100);not null" json:"original_name"` URL string `json:"url"` MD5 string `gorm:"type:varchar(32)" json:"md5"` Mime string `json:"mime"` Size uint64 `json:"size"` }
Click to show internal directories.
Click to hide internal directories.