Merge pull request #163 from jimbao/master

Fix error when deploying to google app engine
This commit is contained in:
Jinzhu 2014-07-11 11:00:53 +08:00
commit dee9520d4e
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ func (h Hstore) Value() (driver.Value, error) {
}
for key, value := range h {
hstore.Map[key] = sql.NullString{*value, true}
hstore.Map[key] = sql.NullString{String: *value, Valid: true}
}
return hstore.Value()
}