scope

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithPagination

func WithPagination(option *options.FindOptions, page, size uint64)

WithPagination 为 FindOptions 设置分页参数(page 从 1 开始)。

func WithTimerRange

func WithTimerRange(option bson.D, start, end string)

WithTimerRange 向过滤条件追加 created_at 时间范围(start/end 为 time.DateTime 格式)。

Types

This section is empty.

Jump to

Keyboard shortcuts

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