Versions in this module Expand all Collapse all v0 v0.1.0 Aug 16, 2026 Changes in this version + const DefaultRef + const DefaultRepo + const DefaultUserAgent + const UserAgentEnv + type Client struct + func New(httpClient *http.Client, opts ...Option) *Client + func (c *Client) DownloadCountryFile(ctx context.Context, repo, ref string, file CountryFile, dest string) (string, error) + func (c *Client) FetchAll(ctx context.Context, repo, ref, dir string) (string, map[string]string, error) + func (c *Client) ListCountryFiles(ctx context.Context, repo, ref string) ([]CountryFile, string, error) + type CountryFile struct + Path string + type Option func(*Client) + func WithUserAgent(userAgent string) Option