package
1.0.0-alpha.2.1.1
Repository: https://github.com/lun-zhang/go-tool.git
Documentation: pkg.go.dev
# Functions
transform basic type to swagger schema type.
No description provided by the author
No description provided by the author
path基础类型参数.
var stop bool struct expr匹配类型.
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
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
No description provided by the author
No description provided by the author
query类型,id=1&id=2这样的参数数组需要处理.
No description provided by the author
成功返回结构type Response struct { ReturnCode uint32 `json:"ret"`//一定有 Message string `json:"msg"`//一定有 Data interface{} `json:"data"`//没有响应结构就没有data}.
# 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
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
No description provided by the author
No description provided by the author
code msg data.
ret msg data.
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
api 文件结构.
No description provided by the author
No description provided by the author
No description provided by the author
array.
标准类型.
No description provided by the author
*
@api_doc_start
{
"http_method": "GET",
"relative_paths": ["/hello_world"],
"query_data": {
"name": "姓名|string|required"
},
"post_data": {
"location": "地址|string|required"
},
"resp_data": {
"a": "a|int",
"b": "b|int",
"c": {
"d": "d|string"
},
"__c": "c|object",
"f": [
"string"
],
"__f": "f|object|required",
"g": [
{
"h": "h|string|required"
}
],
"__g": "g|array|required"
}
}
@api_doc_end
*/.
No description provided by the author
interface.
map.
struct.
No description provided by the author
# Interfaces
type interface.