global

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Page

type Page[T any] struct {
	Page  int32 `json:"pageNum"`
	Size  int32 `json:"pageSize"`
	Total int64 `json:"total"`
	Data  []T   `json:"data"`
}

func Map

func Map[T, R any](p *Page[T], iteratee func(item T, index int) R) *Page[R]

Jump to

Keyboard shortcuts

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