From 3a79416f963d1c72298ac4eaf842e3fedd323022 Mon Sep 17 00:00:00 2001 From: jan Date: Fri, 25 Dec 2015 20:27:44 +0100 Subject: =?UTF-8?q?dummy-gril=20zur=C3=BCckgeben?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/modules/grils/grils.go b/modules/grils/grils.go index fa1f21c..41783a7 100644 --- a/modules/grils/grils.go +++ b/modules/grils/grils.go @@ -3,6 +3,7 @@ package grils import ( "fagott.pw/charakterin" "fagott.pw/grilist/grilist" + "time" ) type GrilsModule struct { @@ -28,6 +29,18 @@ func (m *GrilsModule) ProvideDashboardData(user *charakterin.User) []grilist.Das return []grilist.DashboardCategory{} } +func (m *GrilsModule) FromID(id int) *Gril { + return &Gril{ + ID: id, + KanjiName: "藤林 杏", + RomajiName: "Kyou Fujibayashi", + OtherNames: []string{"ふじばやし きょう"}, + Age: 17, + Birthday: time.Now(), + Tags: []string{"tsundere", "hair intakes", "hair ribbon", "school uniform", "school crest"}, + } +} + func New() *GrilsModule { return &GrilsModule{} } -- cgit v0.10.1