Update fetching address number to match new types.Address pattern
This matches what we get by using the models column definition directly.
This commit is contained in:
parent
f24a583e2e
commit
b0170b20d5
4 changed files with 4 additions and 4 deletions
|
|
@ -20,7 +20,7 @@ type Address struct {
|
|||
ID *int32 `db:"id" json:"-" schema:"-"`
|
||||
Locality string `db:"locality" json:"locality"`
|
||||
Location *Location `db:"location" json:"location" schema:"location"`
|
||||
Number string `db:"number" json:"number"`
|
||||
Number string `db:"number_" json:"number"`
|
||||
PostalCode string `db:"postal_code" json:"postal_code"`
|
||||
Raw string `db:"raw" json:"raw" schema:"raw"`
|
||||
Region string `db:"region" json:"region"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue