response

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: Apache-2.0 Imports: 2 Imported by: 33

Documentation

Overview

Package response 已弃用

Deprecated: 请使用 github.com/go-admin-team/go-admin-core/response 替代。 本包将在 v2.0.0 版本中移除。

迁移指南:

旧导入: import "github.com/go-admin-team/go-admin-core/sdk/pkg/response"
新导入: import "github.com/go-admin-team/go-admin-core/response"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Custum deprecated

func Custum(c *gin.Context, data gin.H)

Deprecated: 使用 github.com/go-admin-team/go-admin-core/response.Custum 替代

func Error deprecated

func Error(c *gin.Context, code int, err error, msg string)

Deprecated: 使用 github.com/go-admin-team/go-admin-core/response.Error 替代

func OK deprecated

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

Deprecated: 使用 github.com/go-admin-team/go-admin-core/response.OK 替代

func PageOK deprecated

func PageOK(c *gin.Context, result interface{}, count int, pageIndex int, pageSize int, msg string)

Deprecated: 使用 github.com/go-admin-team/go-admin-core/response.PageOK 替代

Types

This section is empty.

Jump to

Keyboard shortcuts

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