Versions in this module Expand all Collapse all v0 v0.1.0 Oct 14, 2021 Changes in this version + type Client struct + GeoNames *GeoNamesService + func NewClient(opts ...Option) (*Client, error) + type GeoNamesService service + func (s *GeoNamesService) Query(ctx context.Context, state string) ([]*GeographicName, error) + type GeographicName struct + Class string + ID string + Locale string + Name string + Point *geom.Point + Source string + func (g *GeographicName) GeoJSON() (*geojson.Feature, error) + func (g *GeographicName) MarshalJSON() ([]byte, error) + type Option func(*Client) error + func WithHTTPClient(client *http.Client) Option + func WithHTTPTracing(debug bool) Option + func WithTransport(t http.RoundTripper) Option