diff options
author | jan <jan@ruken.pw> | 2015-12-21 21:17:18 (UTC) |
---|---|---|
committer | jan <jan@ruken.pw> | 2015-12-21 21:17:18 (UTC) |
commit | c3e905c2698f6eb44e291eeb6b180b13755b7705 (patch) | |
tree | 5307f8c0f049ff4d2197deac6d618198a2751aa3 /modules/lists | |
parent | d55a93e653ff5d8810d539724c3d5a9ad96b8453 (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.go | 26 |
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 @@ | |||
1 | package lists | ||
2 | |||
3 | import ( | ||
4 | "fagott.pw/charakterin" | ||
5 | "fagott.pw/grilist/grilist" | ||
6 | ) | ||
7 | |||
8 | type ListsModule struct { | ||
9 | g *grilist.Grilist | ||
10 | } | ||
11 | |||
12 | func (d *ListsModule) Name() string { | ||
13 | return "ListsModule" | ||
14 | } | ||
15 | |||
16 | func (d *ListsModule) Init(g *grilist.Grilist) { | ||
17 | d.g = g | ||
18 | } | ||
19 | |||
20 | func (d *ListsModule) ProvideDashboardData(user *charakterin.User) grilist.DashboardCategory { | ||
21 | return grilist.DashboardCategory{} | ||
22 | } | ||
23 | |||
24 | func New() *ListsModule { | ||
25 | return &ListsModule{} | ||
26 | } | ||