Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultLimit = 10
)
Variables ¶
This section is empty.
Functions ¶
func FetchHandler ¶
func FetchPayment ¶
func FetchPayment(ctx context.Context, db *sql.DB, params FetchParam) (res []pagination.Payment, nextPage int64, err error)
Types ¶
type FetchParam ¶
type FetchParam struct {
PageNumber uint64
}
Click to show internal directories.
Click to hide internal directories.