summaryrefslogtreecommitdiff
path: root/struct.go
blob: f5b8f7c893ddc3bfcb9219e0446343086ce1e6d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
}