aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorrtz12 <koenig@fagott.pw>2015-12-22 21:30:06 (UTC)
committerrtz12 <koenig@fagott.pw>2015-12-22 21:30:06 (UTC)
commit9907271d4fddee0bafbba0d534a2c041156034a8 (patch)
tree1dce8edae0951d460164989666fb2e71f9d83ded /modules
parent4254929eea29a42896fd57185d6f52fdc3efdca4 (diff)
Modell fuer ein Gril hinzugefuegt
Diffstat (limited to 'modules')
-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}