call

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonResult

type JsonResult struct{}

JsonResult 统一的数据返回结构

func (JsonResult) ERROR

func (JsonResult) ERROR(context *gin.Context, message string)

ERROR 错误返回结构

func (JsonResult) OK

func (JsonResult) OK(context *gin.Context, message string, data interface{})

OK 携带数据的成功返回结构

Jump to

Keyboard shortcuts

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