Prettier everything, remove vendored bootstrap
These are installed now via pnpm
This commit is contained in:
parent
004a49c4e4
commit
5779242f22
122 changed files with 297 additions and 13665 deletions
15
db/geo.go
15
db/geo.go
|
|
@ -1,32 +1,31 @@
|
|||
package db
|
||||
|
||||
import (
|
||||
)
|
||||
import ()
|
||||
|
||||
type GeoBounds struct {
|
||||
East float64
|
||||
East float64
|
||||
North float64
|
||||
South float64
|
||||
West float64
|
||||
West float64
|
||||
}
|
||||
|
||||
type GeoQuery struct {
|
||||
Bounds GeoBounds
|
||||
Limit int
|
||||
Limit int
|
||||
}
|
||||
|
||||
func NewGeoBounds() GeoBounds {
|
||||
return GeoBounds{
|
||||
East: 180,
|
||||
East: 180,
|
||||
North: 180,
|
||||
South: -180,
|
||||
West: -180,
|
||||
West: -180,
|
||||
}
|
||||
}
|
||||
|
||||
func NewGeoQuery() GeoQuery {
|
||||
return GeoQuery{
|
||||
Bounds: NewGeoBounds(),
|
||||
Limit: 0,
|
||||
Limit: 0,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue