diff options
-rw-r--r-- | modules/grils/gril.go | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/modules/grils/gril.go b/modules/grils/gril.go new file mode 100644 index 0000000..645a97a --- /dev/null +++ b/modules/grils/gril.go | |||
@@ -0,0 +1,23 @@ | |||
1 | package grils | ||
2 | |||
3 | import ( | ||
4 | "time" | ||
5 | ) | ||
6 | |||
7 | type DataSource int | ||
8 | |||
9 | const ( | ||
10 | DataSourceACD DataSource = iota | ||
11 | DataSourceAniDB | ||
12 | ) | ||
13 | |||
14 | type Gril struct { | ||
15 | ID int | ||
16 | KanjiName string | ||
17 | RomajiName string | ||
18 | OtherNames []string | ||
19 | Age int | ||
20 | Birthday time.Time | ||
21 | Tags []string | ||
22 | ForeignIDs map[DataSource]int | ||
23 | } | ||