Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONRaw ¶
type JSONRaw json.RawMessage
func (*JSONRaw) MarshalJSON ¶
func (*JSONRaw) UnmarshalJSON ¶
type LocalTimeZone ¶ added in v2.6.0
func (LocalTimeZone) MarshalJSON ¶ added in v2.6.0
func (t LocalTimeZone) MarshalJSON() ([]byte, error)
func (*LocalTimeZone) Scan ¶ added in v2.6.0
func (t *LocalTimeZone) Scan(v interface{}) error
func (LocalTimeZone) String ¶ added in v2.6.0
func (t LocalTimeZone) String() string
func (*LocalTimeZone) UnmarshalJSON ¶ added in v2.6.0
func (t *LocalTimeZone) UnmarshalJSON(data []byte) (err error)
type Pagination ¶
type Pagination[T any] struct { Offset int `json:"-"` PageSize int `json:"page_size"` PageNumber int `json:"page_number"` TotalPage int64 `json:"total_page"` TotalRow int64 `json:"total_row"` Items []T `json:"items"` }
func Paginate ¶
func Paginate[T any](c *fiber.Ctx, totalRows int64) *Pagination[T]
Click to show internal directories.
Click to hide internal directories.