Properly encode lat/lng on location
This commit is contained in:
parent
6b4c6ab942
commit
66beb30d93
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
package types
|
||||
|
||||
type Location struct {
|
||||
Latitude float64 `db:"latitude"`
|
||||
Longitude float64 `db:"longitude"`
|
||||
Latitude float64 `db:"latitude" json:"latitude"`
|
||||
Longitude float64 `db:"longitude" json:"longitude"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue