aboutsummaryrefslogtreecommitdiff
path: root/modules/grils
diff options
context:
space:
mode:
authorjan <jan@ruken.pw>2015-12-22 18:01:08 (UTC)
committerjan <jan@ruken.pw>2015-12-22 18:01:08 (UTC)
commitf239fc2678f2f4e458cf10a4ab30d54acc5b92c2 (patch)
tree059c8593e91257eeb39a049a7b8e47df8ba4638d /modules/grils
parent50d50d37809fef22b08c0b260302a5e96ad35694 (diff)
mehr cleanup, neue Listen anzeigen auf dem Dashboard
Diffstat (limited to 'modules/grils')
-rw-r--r--modules/grils/grils.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/grils/grils.go b/modules/grils/grils.go
index 6ce7c5e..fa1f21c 100644
--- a/modules/grils/grils.go
+++ b/modules/grils/grils.go
@@ -6,7 +6,7 @@ import (
6) 6)
7 7
8type GrilsModule struct { 8type GrilsModule struct {
9 g *grilist.Grilist 9 g *grilist.Grilist
10 Test []int 10 Test []int
11} 11}
12 12
@@ -16,16 +16,16 @@ func (m *GrilsModule) Name() string {
16 16
17func (m *GrilsModule) Init(g *grilist.Grilist) { 17func (m *GrilsModule) Init(g *grilist.Grilist) {
18 m.g = g 18 m.g = g
19 m.Test = append(m.Test, len(m.Test) + 1) 19 m.Test = append(m.Test, len(m.Test)+1)
20} 20}
21 21
22func (m *GrilsModule) Interface() interface{} { 22func (m *GrilsModule) Interface() interface{} {
23 m.Test = append(m.Test, len(m.Test) + 1) 23 m.Test = append(m.Test, len(m.Test)+1)
24 return m 24 return m
25} 25}
26 26
27func (m *GrilsModule) ProvideDashboardData(user *charakterin.User) grilist.DashboardCategory { 27func (m *GrilsModule) ProvideDashboardData(user *charakterin.User) []grilist.DashboardCategory {
28 return grilist.DashboardCategory{} 28 return []grilist.DashboardCategory{}
29} 29}
30 30
31func New() *GrilsModule { 31func New() *GrilsModule {