diff options
author | jan <jan@ruken.pw> | 2015-12-22 18:01:08 (UTC) |
---|---|---|
committer | jan <jan@ruken.pw> | 2015-12-22 18:01:08 (UTC) |
commit | f239fc2678f2f4e458cf10a4ab30d54acc5b92c2 (patch) | |
tree | 059c8593e91257eeb39a049a7b8e47df8ba4638d /modules/grils | |
parent | 50d50d37809fef22b08c0b260302a5e96ad35694 (diff) |
mehr cleanup, neue Listen anzeigen auf dem Dashboard
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 { |