diff options
author | jan <jan@ruken.pw> | 2015-12-27 13:03:49 (UTC) |
---|---|---|
committer | jan <jan@ruken.pw> | 2015-12-27 13:03:49 (UTC) |
commit | 8e5c7e54f952e5c34ab64c512ccdbc27af9447c9 (patch) | |
tree | 14d546d8d6d252f85536a7055210c263e397b3a0 /modules/lists | |
parent | 6fabf512767b458a44b4b2547a7b07e9db71c00a (diff) |
tatsächliche daten aus der datenbank werden nun für grils verwendet. ein hoch auf unsern busfahrer, busfahrer, busfahrer.
Diffstat (limited to 'modules/lists')
-rw-r--r-- | modules/lists/lists.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/lists/lists.go b/modules/lists/lists.go index 970b15b..a7e822a 100644 --- a/modules/lists/lists.go +++ b/modules/lists/lists.go | |||
@@ -9,10 +9,10 @@ import ( | |||
9 | "fagott.pw/grilist/modules/grils" | 9 | "fagott.pw/grilist/modules/grils" |
10 | "fmt" | 10 | "fmt" |
11 | "github.com/julienschmidt/httprouter" | 11 | "github.com/julienschmidt/httprouter" |
12 | "github.com/lib/pq" | ||
12 | "log" | 13 | "log" |
13 | "net/http" | 14 | "net/http" |
14 | "strconv" | 15 | "strconv" |
15 | "time" | ||
16 | ) | 16 | ) |
17 | 17 | ||
18 | // Module und so. | 18 | // Module und so. |
@@ -27,8 +27,8 @@ type List struct { | |||
27 | Name string | 27 | Name string |
28 | Description string | 28 | Description string |
29 | Owner *charakterin.User | 29 | Owner *charakterin.User |
30 | ForkOf *int | 30 | ForkOf sql.NullInt64 |
31 | UpdatedAt *time.Time | 31 | UpdatedAt pq.NullTime |
32 | Grils []*ListGril | 32 | Grils []*ListGril |
33 | } | 33 | } |
34 | 34 | ||