9669afdfc7
Define database of Earth's polygons in GeoJSON format. Implement resolving of geo point to continent in which it is located through point-in-polygon calculation. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
10 lines
168 B
Go
10 lines
168 B
Go
package continentsdb
|
|
|
|
// Option sets an optional parameter of DB.
|
|
type Option func(*options)
|
|
|
|
type options struct{}
|
|
|
|
func defaultOpts() *options {
|
|
return &options{}
|
|
}
|