Documentation ¶
Index ¶
- type Service
- func (s *Service) AddCountry(name string, a2 string, a3 string, number string, idd string, active bool) (map[string]interface{}, error)
- func (s *Service) FetchCountry(countryId int64) (map[string]interface{}, error)
- func (s *Service) FetchCountryByA2(a2 string) (map[string]interface{}, error)
- func (s *Service) FetchCountryByA3(a3 string) (map[string]interface{}, error)
- func (s *Service) GetCountries() ([]interface{}, error)
- func (s *Service) GetCountries2(active bool) ([]interface{}, error)
- func (s *Service) GetCountry(countryId int64) (map[string]interface{}, error)
- func (s *Service) GetCountryByA2(a2 string) (map[string]interface{}, error)
- func (s *Service) GetCountryByA3(a3 string) (map[string]interface{}, error)
- func (s *Service) GetCountryByName(name string) (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) AddCountry ¶
func (*Service) FetchCountry ¶
func (*Service) FetchCountryByA2 ¶
func (*Service) FetchCountryByA3 ¶
func (*Service) GetCountries ¶
func (*Service) GetCountries2 ¶
func (*Service) GetCountry ¶
func (*Service) GetCountryByA2 ¶
func (*Service) GetCountryByA3 ¶
Click to show internal directories.
Click to hide internal directories.