diff options
| author | horus | 2020-04-02 21:53:30 +0200 |
|---|---|---|
| committer | horus | 2020-04-02 21:53:30 +0200 |
| commit | 0b90b7a3b0f38f0babf4d788f4d7dd5e43253341 (patch) | |
| tree | a5492cf5246522a5dd0e201be3ae988ae7e6245c /struct.go | |
| download | curious-crawler-0b90b7a3b0f38f0babf4d788f4d7dd5e43253341.tar.gz | |
Initial commit.
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 +} |
