package
0.0.0-20240202030812-4699a84b093b
Repository: https://github.com/lm1996-mojor/go-core-library.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

BadResult 常用失败响应 @@Param:data 成功需要返回的数据,可以为nil @Description: 固定code:500,message:自定义.
FailCustom 自定义失败响应 @@Param:data 成功需要返回的数据,可以为nil @Description: 内容自定义.
FailCustomBinaryResponse 自定义失败响应(二进制返回) @@Param:data 成功需要返回的数据,可以为nil @Description: 内容自定义.
FailResult 常用失败响应 @@Param:data 成功需要返回的数据,可以为nil @Description: 固定code:500,message:服务器错误.
No description provided by the author
No description provided by the author
NewPageable return new Pageable info.
NewQueryPage create new page result.
NewResult create new result.
SuccessCustom 自定义消息成功响应 @@Param: data 成功需要返回的数据,可以为nil @@Param: msg 自定义需要返回的消息 @Description: 固定code:200.
SuccessResult 常用成功响应 @@Param:data 成功需要返回的数据,可以为nil @Description: 固定code:200,message:请求成功.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
Pageable general page data.
Result HTTP request result.