Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDatabaseError = errors.New("Database Error")
View Source
var ErrRecordNotFound = errors.New("Record Not Found")
Functions ¶
This section is empty.
Types ¶
type UseCase ¶
type UseCase interface {
Search(keyword string) ([]entity.CityProfile, error)
}
func New ¶
func New(city_repo repository.CityRepository, province_repo repository.ProvinceRepository) UseCase
Click to show internal directories.
Click to hide internal directories.