Started a repository of the uploads
This commit is contained in:
parent
6b697e008f
commit
0a9af9cde8
11 changed files with 101 additions and 15 deletions
|
|
@ -3,13 +3,14 @@ package models
|
|||
import "time"
|
||||
|
||||
type Upload struct {
|
||||
ID int64 `json:"id"`
|
||||
SiteID int64 `json:"site_id"`
|
||||
GUID string `json:"guid"`
|
||||
MIMEType string `json:"mime_type"`
|
||||
Filename string `json:"filename"`
|
||||
CreatedAt int64 `json:"created_at"`
|
||||
Alt string `json:"alt"`
|
||||
ID int64 `json:"id"`
|
||||
SiteID int64 `json:"site_id"`
|
||||
GUID string `json:"guid"`
|
||||
FileSize int64 `json:"file_size"`
|
||||
MIMEType string `json:"mime_type"`
|
||||
Filename string `json:"filename"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
Alt string `json:"alt"`
|
||||
}
|
||||
|
||||
type PendingUpload struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue