repository

package
v0.0.0-...-7d4a18e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllCities

func GetAllCities() []*model.City

GetAllCities gets all cities

func GetAllCitiesByCountryCode

func GetAllCitiesByCountryCode(countryCode string) []*model.City

GetAllCitiesByCountryCode gets cities by country code

func GetAllCitiesByCountryCodeByRegionCode

func GetAllCitiesByCountryCodeByRegionCode(countryCode string, regionCode string) []*model.City

GetAllCitiesByCountryCodeByRegionCode gets cities by country code and region code

func GetAllCitiesByCountryID

func GetAllCitiesByCountryID(countryId int) []*model.City

GetAllCitiesByCountryID gets cities by country ID

func GetAllCitiesByCountryIDByRegionID

func GetAllCitiesByCountryIDByRegionID(countryId int, regionId int) []*model.City

GetAllCitiesByCountryIDByRegionID gets cities by country ID and region ID

func GetAllContinents

func GetAllContinents() []*model.Continent

GetAllContinents gets all containers

func GetAllCountries

func GetAllCountries() []*model.Country

GetAllCountries gets all countries

func GetAllCountriesByContinentCode

func GetAllCountriesByContinentCode(continentCode string) []*model.Country

GetAllCountriesByContinentCode gets countries by continent code

func GetAllCountriesByContinentID

func GetAllCountriesByContinentID(continentId int) []*model.Country

GetAllCountriesByContinentID gets countries by continent ID

func GetAllRegions

func GetAllRegions() []*model.Region

GetAllRegions gets all regions

func GetAllRegionsByCountryCode

func GetAllRegionsByCountryCode(countryCode string) []*model.Region

GetAllRegionsByCountryCode get regions by country code

func GetAllRegionsByCountryID

func GetAllRegionsByCountryID(countryId int) []*model.Region

GetAllRegionsByCountryID gets regions by country ID

func GetCity

func GetCity(id int) model.City

GetCity gets city by ID

func GetCityView

func GetCityView(id int) model.CityView

GetCityView gets city viewer by city ID

func GetContinent

func GetContinent(id int) model.Continent

GetContinent gets container by ID

func GetContinentByCode

func GetContinentByCode(code string) model.Continent

GetContinentByCode gets container by code

func GetCountry

func GetCountry(id int) model.Country

GetCountry gets country data by ID

func GetCountryByCode

func GetCountryByCode(code string) model.Country

GetCountryByCode gets country data by code

func GetRegion

func GetRegion(id int) model.Region

GetRegion gets region by ID

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL