This commit is contained in:
Magnus Åhall 2024-11-28 18:11:14 +01:00
parent 515c748e14
commit bd4a475923
23 changed files with 1217 additions and 192 deletions

17
file.go Normal file
View 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
}