diff options
Diffstat (limited to 'modules/grils')
-rw-r--r-- | modules/grils/grils.go | 10 |
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 | ||
8 | type GrilsModule struct { | 8 | type 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 | ||
17 | func (m *GrilsModule) Init(g *grilist.Grilist) { | 17 | func (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 | ||
22 | func (m *GrilsModule) Interface() interface{} { | 22 | func (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 | ||
27 | func (m *GrilsModule) ProvideDashboardData(user *charakterin.User) grilist.DashboardCategory { | 27 | func (m *GrilsModule) ProvideDashboardData(user *charakterin.User) []grilist.DashboardCategory { |
28 | return grilist.DashboardCategory{} | 28 | return []grilist.DashboardCategory{} |
29 | } | 29 | } |
30 | 30 | ||
31 | func New() *GrilsModule { | 31 | func New() *GrilsModule { |