out

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

* * @Author: TheLife * @Date: 2020-2-25 9:00 下午

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleError

func HandleError(c *gin.Context, err error) bool

func HandleErrorData

func HandleErrorData(c *gin.Context, data interface{}, err error) bool

func JsonData

func JsonData(c *gin.Context, data interface{})

func JsonError

func JsonError(c *gin.Context, msg string)

func JsonErrorData

func JsonErrorData(c *gin.Context, data interface{}, msg string)

func JsonPageResult

func JsonPageResult(c *gin.Context, data interface{}, page interface{})

func JsonPagination

func JsonPagination(c *gin.Context, list interface{}, page interface{})

func JsonPaging

func JsonPaging(c *gin.Context, data interface{}, total int)

func JsonSuccess

func JsonSuccess(c *gin.Context)

func ParseParamID

func ParseParamID(c *gin.Context) (uint, error)

func ParseParamIDString

func ParseParamIDString(c *gin.Context) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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