Documentation
¶
Index ¶
- Variables
- type CitiesDto
- type Controller
- type CountriesDto
- 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 StatesDto
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
Service *Service
}
func (*Controller) Cities ¶
func (x *Controller) Cities(ctx context.Context, c *app.RequestContext)
func (*Controller) Countries ¶
func (x *Controller) Countries(ctx context.Context, c *app.RequestContext)
func (*Controller) States ¶
func (x *Controller) States(ctx context.Context, c *app.RequestContext)
type CountriesDto ¶
type CountriesDto struct {
Fields string `query:"fields"`
}
Click to show internal directories.
Click to hide internal directories.