diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/series/series.go | 11 | ||||
-rw-r--r-- | modules/tags/tag.go | 8 |
2 files changed, 19 insertions, 0 deletions
diff --git a/modules/series/series.go b/modules/series/series.go new file mode 100644 index 0000000..1f50903 --- /dev/null +++ b/modules/series/series.go | |||
@@ -0,0 +1,11 @@ | |||
1 | package series | ||
2 | |||
3 | type Series struct { | ||
4 | ID int | ||
5 | Name string | ||
6 | KanjiName string | ||
7 | RomajiName string | ||
8 | FuriganaName string | ||
9 | OtherNames []string | ||
10 | Tags []string | ||
11 | } | ||
diff --git a/modules/tags/tag.go b/modules/tags/tag.go new file mode 100644 index 0000000..026df0f --- /dev/null +++ b/modules/tags/tag.go | |||
@@ -0,0 +1,8 @@ | |||
1 | package tags | ||
2 | |||
3 | type TagType int | ||
4 | |||
5 | const ( | ||
6 | TagTypeGril TagType = iota | ||
7 | TagTypeSeries | ||
8 | ) | ||