diff options
Diffstat (limited to 'struct.go')
| -rw-r--r-- | struct.go | 20 |
1 files changed, 20 insertions, 0 deletions
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 +} |
