From 0b90b7a3b0f38f0babf4d788f4d7dd5e43253341 Mon Sep 17 00:00:00 2001 From: horus Date: Thu, 2 Apr 2020 21:53:30 +0200 Subject: Initial commit. --- struct.go | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 struct.go (limited to 'struct.go') diff --git a/struct.go b/struct.go new file mode 100644 index 0000000..f5b8f7c --- /dev/null +++ b/struct.go @@ -0,0 +1,20 @@ +package main + +type Story struct { + Id int + Deleted bool + Type string + Time int + Text string + Dead bool + Url string + Score int + Title string + Descendants int +} + +type Category struct { + ID int + Name string + Url string +} -- cgit v1.2.3