Files
Lumberjack-Go-Backend/model_file.go
Patrick McDonagh 62ed942495 Initial Commit
2017-09-27 11:18:17 -05:00

17 lines
392 B
Go

package main
import "time"
// File : holds information about a specific File
type File struct {
ID int `json:"id"`
Name string `json:"name"`
Location string `json:"location"`
Description string `json:"description"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
}
// Files : a list of File items
type Files []File