Documentation
¶
Index ¶
- Constants
- func App(ctx context.Context) string
- func Header(ctx context.Context) http.Header
- func IsHayo(ctx context.Context) bool
- func IsKeke(ctx context.Context) bool
- func Request(ctx context.Context) *http.Request
- func Uid(ctx context.Context) string
- func UrlContainsCMS(ctx context.Context) bool
- type BaseResponse
- type ListWithPage
- type Page
Constants ¶
View Source
const DirectionBackward = 1
View Source
const DirectionForward = -1
Variables ¶
This section is empty.
Functions ¶
func UrlContainsCMS ¶ added in v1.1.86
Types ¶
type BaseResponse ¶
type ListWithPage ¶ added in v1.1.88
func FindWithPage ¶ added in v1.1.86
func FindWithPage[T any]( ctx context.Context, repo *database.Repository, filter bson.M, sortField string, pt *Page, optChain ...*options.FindOptions, ) (*ListWithPage[T], error)
Click to show internal directories.
Click to hide internal directories.