Documentation ¶
Index ¶
- func GetAllCities() []*model.City
- func GetAllCitiesByCountryCode(countryCode string) []*model.City
- func GetAllCitiesByCountryCodeByRegionCode(countryCode string, regionCode string) []*model.City
- func GetAllCitiesByCountryID(countryId int) []*model.City
- func GetAllCitiesByCountryIDByRegionID(countryId int, regionId int) []*model.City
- func GetAllContinents() []*model.Continent
- func GetAllCountries() []*model.Country
- func GetAllCountriesByContinentCode(continentCode string) []*model.Country
- func GetAllCountriesByContinentID(continentId int) []*model.Country
- func GetAllRegions() []*model.Region
- func GetAllRegionsByCountryCode(countryCode string) []*model.Region
- func GetAllRegionsByCountryID(countryId int) []*model.Region
- func GetCity(id int) model.City
- func GetCityView(id int) model.CityView
- func GetContinent(id int) model.Continent
- func GetContinentByCode(code string) model.Continent
- func GetCountry(id int) model.Country
- func GetCountryByCode(code string) model.Country
- func GetRegion(id int) model.Region
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllCitiesByCountryCode ¶
GetAllCitiesByCountryCode gets cities by country code
func GetAllCitiesByCountryCodeByRegionCode ¶
GetAllCitiesByCountryCodeByRegionCode gets cities by country code and region code
func GetAllCitiesByCountryID ¶
GetAllCitiesByCountryID gets cities by country ID
func GetAllCitiesByCountryIDByRegionID ¶
GetAllCitiesByCountryIDByRegionID gets cities by country ID and region ID
func GetAllContinents ¶
GetAllContinents gets all containers
func GetAllCountriesByContinentCode ¶
GetAllCountriesByContinentCode gets countries by continent code
func GetAllCountriesByContinentID ¶
GetAllCountriesByContinentID gets countries by continent ID
func GetAllRegionsByCountryCode ¶
GetAllRegionsByCountryCode get regions by country code
func GetAllRegionsByCountryID ¶
GetAllRegionsByCountryID gets regions by country ID
func GetContinentByCode ¶
GetContinentByCode gets container by code
func GetCountryByCode ¶
GetCountryByCode gets country data by code
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.