Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLocationRepository ¶
func NewLocationRepository(db *sql.DB) location.Repository
Types ¶
type LocationRepository ¶
type LocationRepository struct {
// contains filtered or unexported fields
}
func (*LocationRepository) CityListByCountry ¶
func (r *LocationRepository) CityListByCountry(id int64) ([]*model.City, error)
func (*LocationRepository) CountryList ¶
func (r *LocationRepository) CountryList() ([]*model.Country, error)
func (*LocationRepository) FindCity ¶
func (r *LocationRepository) FindCity(id int64) (*model.City, error)
func (*LocationRepository) FindCountry ¶
func (r *LocationRepository) FindCountry(id int64) (*model.Country, error)
Click to show internal directories.
Click to hide internal directories.