request

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PageInfo

type PageInfo struct {
	Page       int   `json:"page" form:"page"`
	PageSize   int   `json:"page_size" form:"page_size"`
	TotalCount int64 `json:"total_count" form:"total_count"`
}

PageInfo 分页信息结构

type Validator

type Validator struct {
	// contains filtered or unexported fields
}

func V

func V() *Validator

func (*Validator) Check

func (v *Validator) Check(ptr interface{}) (err error)

Jump to

Keyboard shortcuts

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