aboutsummaryrefslogtreecommitdiff
path: root/modules/lists
diff options
context:
space:
mode:
authorjan <jan@ruken.pw>2015-12-21 21:17:18 (UTC)
committerjan <jan@ruken.pw>2015-12-21 21:17:18 (UTC)
commitc3e905c2698f6eb44e291eeb6b180b13755b7705 (patch)
tree5307f8c0f049ff4d2197deac6d618198a2751aa3 /modules/lists
parentd55a93e653ff5d8810d539724c3d5a9ad96b8453 (diff)
grilist als extra-package erstellt damit wir es sharen können mit modulen. Module hinzugefügt, jetzt brauchen wir langsam mal die ganzen grils
Diffstat (limited to 'modules/lists')
-rw-r--r--modules/lists/lists.go26
1 files changed, 26 insertions, 0 deletions
diff --git a/modules/lists/lists.go b/modules/lists/lists.go
new file mode 100644
index 0000000..f8f13bb
--- /dev/null
+++ b/modules/lists/lists.go
@@ -0,0 +1,26 @@
1package lists
2
3import (
4 "fagott.pw/charakterin"
5 "fagott.pw/grilist/grilist"
6)
7
8type ListsModule struct {
9 g *grilist.Grilist
10}
11
12func (d *ListsModule) Name() string {
13 return "ListsModule"
14}
15
16func (d *ListsModule) Init(g *grilist.Grilist) {
17 d.g = g
18}
19
20func (d *ListsModule) ProvideDashboardData(user *charakterin.User) grilist.DashboardCategory {
21 return grilist.DashboardCategory{}
22}
23
24func New() *ListsModule {
25 return &ListsModule{}
26}