package
Version:
v1.6.3
Opens a new window with list of versions in this module.
Published: Jan 31, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 33
Opens a new window with list of known importers.
Documentation
¶
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"
-
func Custum(c *gin.Context, data gin.H)deprecated
-
func Error(c *gin.Context, code int, err error, msg string)deprecated
-
func OK(c *gin.Context, data interface{}, msg string)deprecated
-
func PageOK(c *gin.Context, result interface{}, count int, pageIndex int, pageSize int, ...)deprecated
Deprecated: 使用 github.com/go-admin-team/go-admin-core/response.Custum 替代
Deprecated: 使用 github.com/go-admin-team/go-admin-core/response.Error 替代
Deprecated: 使用 github.com/go-admin-team/go-admin-core/response.OK 替代
Deprecated: 使用 github.com/go-admin-team/go-admin-core/response.PageOK 替代
Source Files
¶
Click to show internal directories.
Click to hide internal directories.