Documentation ¶
Index ¶
- func Contains(a *sql.Polygon, b *sql.Point) bool
- func GeohashDecode(hash string) *sql.Point
- func GeohashEncode(point *sql.Point, precision int64) string
- func Haversine(a, b *sql.Point) float64
- func Inside(a *sql.Point, b *sql.Polygon) bool
- func Intersects(a, b interface{}) bool
- func Point(val interface{}) (out *sql.Point, ok bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeohashDecode ¶
func Intersects ¶
func Intersects(a, b interface{}) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.