Versions in this module Expand all Collapse all v0 v0.1.0 Jun 15, 2026 Changes in this version + const Host + type Client struct + func NewClient(cfg Config) *Client + func (c *Client) NearbyPlaces(ctx context.Context, query string, lat, lon float64, limit int, lang string) ([]Place, error) + func (c *Client) ReversePlaces(ctx context.Context, lat, lon string, limit int, lang string) ([]Place, error) + func (c *Client) SearchPlaces(ctx context.Context, query string, limit int, lang string) ([]Place, error) + type Config struct + BaseURL string + Lang string + Rate time.Duration + Retries int + ReverseURL string + Timeout time.Duration + UserAgent string + func DefaultConfig() Config + type Domain struct + func (Domain) Info() kit.DomainInfo + func (Domain) Register(app *kit.App) + type Place struct + Category string + City string + Country string + CountryCode string + HouseNumber string + Lat float64 + Lon float64 + Name string + OsmID int64 + OsmType string + Postcode string + State string + Street string + Type string