diff options
Diffstat (limited to 'struct.go')
| -rw-r--r-- | struct.go | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/struct.go b/struct.go new file mode 100644 index 0000000..ccd2dc3 --- /dev/null +++ b/struct.go @@ -0,0 +1,41 @@ +package main + +import ( + "time" +) + +type Platform struct { + ID int + Name string + URL string +} + +type Language struct { + ID int + Name string +} + +type UpdatePeriod struct { + ID int + Name string +} + +type Owner struct { + ID int + Name string + URL string + Platform *Platform +} + +type Entry struct { + ID int + Title string + Synopsis string + Owner *Owner + Platform *Platform + URL string + Language *Language + Stars int + UpdatePeriod *UpdatePeriod + Created_At time.Time +} |
