package
Version:
v1.7.2
Opens a new window with list of versions in this module.
Published: Feb 25, 2025
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Code generated by goctl. DO NOT EDIT.
type BookRequest struct {
Name string `json:"name" label:"姓名"`
Age int `json:"age" label:"年龄"`
}
type BookResponse struct {
Code int `json:"code"`
Msg string `json:"msg"`
}
type CartRequest struct {
Name string `json:"name" label:"姓名"`
Age int `json:"age" label:"年龄"`
}
type CartResponse struct {
Name string `json:"name"`
Age int `json:"age"`
}
type Embed1 struct {
Foo int `json:"foo"`
Embed3 Embed3 `json:"embed3"`
}
type Embed2 struct {
Foo int `json:"foo"`
}
type Embed3 struct {
Foo int `json:"foo"`
}
type UserRequest struct {
Name string `uri:"name" label:"姓名"`
Age int `json:"age"`
Embed1 []Embed1 `json:"em1" label:"xs"`
Embed2 Embed2 `json:"em2" label:"dsd"`
Map2 map[string]Value1 `json:"map2"`
}
type Value1 struct {
Name string `json:"name"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.