diff options
Diffstat (limited to 'lib/model.go')
-rw-r--r-- | lib/model.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/model.go b/lib/model.go new file mode 100644 index 0000000..be86378 --- /dev/null +++ b/lib/model.go @@ -0,0 +1,11 @@ +package lib + +import "time" + +type File struct { + Id int `db:"id"` + User_id string `db:"user_id"` + Absolute_path string `db:"absolute_path"` + Contents string `db:"contents"` + Timestamp time.Time `db:"timestamp"` +} |