search_usecase

package
v0.0.0-...-da4b49c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL