diff options
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 | } | ||