aboutsummaryrefslogtreecommitdiff
path: root/modules/grils/gril.go
diff options
context:
space:
mode:
authorjan <jan@ruken.pw>2015-12-27 13:03:49 (UTC)
committerjan <jan@ruken.pw>2015-12-27 13:03:49 (UTC)
commit8e5c7e54f952e5c34ab64c512ccdbc27af9447c9 (patch)
tree14d546d8d6d252f85536a7055210c263e397b3a0 /modules/grils/gril.go
parent6fabf512767b458a44b4b2547a7b07e9db71c00a (diff)
tatsächliche daten aus der datenbank werden nun für grils verwendet. ein hoch auf unsern busfahrer, busfahrer, busfahrer.
Diffstat (limited to 'modules/grils/gril.go')
-rw-r--r--modules/grils/gril.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/grils/gril.go b/modules/grils/gril.go
index 645a97a..9fd3be5 100644
--- a/modules/grils/gril.go
+++ b/modules/grils/gril.go
@@ -1,6 +1,8 @@
1package grils 1package grils
2 2
3import ( 3import (
4 "database/sql"
5 "github.com/lib/pq"
4 "time" 6 "time"
5) 7)
6 8
@@ -16,8 +18,9 @@ type Gril struct {
16 KanjiName string 18 KanjiName string
17 RomajiName string 19 RomajiName string
18 OtherNames []string 20 OtherNames []string
19 Age int 21 Age sql.NullInt64
20 Birthday time.Time 22 Birthday pq.NullTime
21 Tags []string 23 Tags []string
22 ForeignIDs map[DataSource]int 24 ForeignIDs map[DataSource]int
25 UpdatedAt time.Time
23} 26}