diff options
author | rtz12 <koenig@fagott.pw> | 2015-12-22 21:30:55 (UTC) |
---|---|---|
committer | rtz12 <koenig@fagott.pw> | 2015-12-22 21:30:55 (UTC) |
commit | 213a8d2e3ba4fcaff0b750bd493bf8f94f21dd31 (patch) | |
tree | 16e02d775af1052d40f4658bd8865daff9097180 /modules/grils | |
parent | 9907271d4fddee0bafbba0d534a2c041156034a8 (diff) | |
parent | 9e6b06475dc6c878dee0c116fc48b9f8130d3ae1 (diff) |
Merge branch 'master' of projekte.fagott.pw:grilist
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 { |