package
Version:
v0.0.0-...-585f28f
Opens a new window with list of versions in this module.
Published: Jan 4, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func ListDataResponse(arr interface{}, total int64, c echo.Context) error
func OneDataResponse(data interface{}, c echo.Context) error
func OperateSuccess(c echo.Context) error
type DataResponse struct {
Code int `json:"code"`
Msg string `json:"msg"`
Data interface{} `json:"data"`
}
type ListData struct {
Total int64 `json:"total"`
List interface{} `json:"list" `
}
type ListResponse struct {
Code int `json:"code"`
Msg string `json:"msg"`
Data ListData `json:"data"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.