branch_usecase

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BranchDelete

type BranchDelete interface {
	Delete(ctx context.Context, uuid string) error
}

type BranchFetch

type BranchFetch interface {
	Fetch(ctx context.Context, param branch_request.BranchParam) ([]model.Branch, error)
	Paginate(ctx context.Context, param branch_request.BranchParam) (branch_response.BranchPaginate, error)
}

type BranchGet

type BranchGet interface {
	Get(ctx context.Context, param branch_request.BranchParam) (model.Branch, error)
}

type BranchStore

type BranchStore interface {
	Store(ctx context.Context, req branch_request.BranchStore) (r model.Branch, err error)
}

type BranchUpdate

type BranchUpdate interface {
	Update(ctx context.Context, req branch_request.BranchUpdate) (r model.Branch, err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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