Documentation
¶
Index ¶
- Variables
- type CitiesQuery
- type Controller
- type CountryQuery
- type Service
- func (x *Service) FindCities(ctx context.Context, country string, state string, fields []string) (data []model.City, err error)
- func (x *Service) FindCountries(ctx context.Context, fields []string) (data []model.Country, err error)
- func (x *Service) FindStates(ctx context.Context, country string, fields []string) (data []model.State, err error)
- type StatesQuery
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type CitiesQuery ¶
type Controller ¶
type Controller struct {
Service *Service
}
func (*Controller) Cities ¶
func (x *Controller) Cities(c *gin.Context) interface{}
func (*Controller) Countries ¶
func (x *Controller) Countries(c *gin.Context) interface{}
func (*Controller) States ¶
func (x *Controller) States(c *gin.Context) interface{}
type CountryQuery ¶
type CountryQuery struct {
Fields string `form:"fields"`
}
type StatesQuery ¶
Click to show internal directories.
Click to hide internal directories.