wip
This commit is contained in:
parent
515c748e14
commit
bd4a475923
23 changed files with 1217 additions and 192 deletions
17
file.go
Normal file
17
file.go
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
// Standard
|
||||
"time"
|
||||
)
|
||||
|
||||
type File struct {
|
||||
ID int
|
||||
UserID int `db:"user_id"`
|
||||
NodeID int `db:"node_id"`
|
||||
Filename string
|
||||
Size int64
|
||||
MIME string
|
||||
MD5 string
|
||||
Uploaded time.Time
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue