aboutsummaryrefslogtreecommitdiff
path: root/modules/grils
diff options
context:
space:
mode:
Diffstat (limited to 'modules/grils')
-rw-r--r--modules/grils/gril.go23
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 @@
1package grils
2
3import (
4 "time"
5)
6
7type DataSource int
8
9const (
10 DataSourceACD DataSource = iota
11 DataSourceAniDB
12)
13
14type 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}