Versions in this module Expand all Collapse all v0 v0.21.1 Apr 1, 2019 Changes in this version + const ErrBadCountryValueType + const ErrInternal + const ErrMissingRequiredField + const UndefinedCountry + func GetCountry(timeout uint64, url, field string) (string, error) + type Config struct + Field string + Timeout uint64 + URLTemplate string + func NewConfig() *Config + type ServerMock struct + Server *httptest.Server + func NewServerMock(field, result string) *ServerMock + func (s ServerMock) Close()