aboutsummaryrefslogtreecommitdiff
path: root/modules/lists
diff options
context:
space:
mode:
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}