Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Branch ¶
type Branch interface { BranchFetch BranchGet BranchStore BranchUpdate BranchDelete BranchPaginate }
type BranchFetch ¶
type BranchFetch interface {
Fetch(ctx context.Context, Param branch_request.BranchParam) ([]model.Branch, error)
}
type BranchGet ¶
type BranchGet interface {
Get(ctx context.Context, Param branch_request.BranchParam) (model.Branch, error)
}
type BranchPaginate ¶
type BranchPaginate interface {
Paginate(ctx context.Context, param branch_request.BranchParam) (branch_response.BranchPaginate, error)
}
type BranchStore ¶
type BranchUpdate ¶
type BranchUpdate interface {
Update(ctx context.Context, Branch *model.Branch, condition ...branch_request.BranchParam) error
}
Click to show internal directories.
Click to hide internal directories.