aboutsummaryrefslogtreecommitdiff
path: root/modules/grils
diff options
context:
space:
mode:
authorrtz12 <koenig@fagott.pw>2015-12-22 21:30:55 (UTC)
committerrtz12 <koenig@fagott.pw>2015-12-22 21:30:55 (UTC)
commit213a8d2e3ba4fcaff0b750bd493bf8f94f21dd31 (patch)
tree16e02d775af1052d40f4658bd8865daff9097180 /modules/grils
parent9907271d4fddee0bafbba0d534a2c041156034a8 (diff)
parent9e6b06475dc6c878dee0c116fc48b9f8130d3ae1 (diff)
Merge branch 'master' of projekte.fagott.pw:grilist
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 {