From 4dc18e3691127e058833fd9c7a5bbee333c3a66c Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 17 Apr 2019 09:44:56 +0200 Subject: Initial commit. --- struct.go | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 struct.go (limited to 'struct.go') 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 +} -- cgit v1.2.3