diff options
Diffstat (limited to 'modules/grils/gril.go')
| -rw-r--r-- | modules/grils/gril.go | 7 |
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 @@ | |||
| 1 | package grils | 1 | package grils |
| 2 | 2 | ||
| 3 | import ( | 3 | import ( |
| 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 | } |
