Documentation
¶
Index ¶
- func CheckError(err error)
- func GetCities(choice ...*models.CityFilter) ([]byte, error)
- func GetCity(CityName string, choice ...*models.CityFilter) ([]byte, error)
- func GetCountries(choice ...*models.CountryFilter) ([]byte, error)
- func GetCountry(country_name string, choice ...*models.CountryFilter) ([]byte, error)
- func GetState(state_name string, choice ...*models.StateFilter) ([]byte, error)
- func GetStates(choice ...*models.StateFilter) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCountries ¶
func GetCountries(choice ...*models.CountryFilter) ([]byte, error)
GetCountriesData retreives the data from Database module and return as a []byte after marshling into a json format
func GetCountry ¶
func GetCountry(country_name string, choice ...*models.CountryFilter) ([]byte, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.