Discover Packages
github.com/grasscy/gemini
model
dto
package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Jul 29, 2021
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
Documentation
¶
type ListOut struct {
Rows interface{} `json:"rows"`
}
type PagedIn struct {
PageNum int `json:"page_num" form:"page_num" binding:"gte=1"`
PerCount int `json:"per_count" form:"per_count" binding:"gte=1"`
}
PagedIn 分页输入
type PagedOut struct {
TotalCount int `json:"total_count"`
PerCount int `json:"per_count"`
PageNum int `json:"page_num"`
QueryCount int `json:"query_count"`
Rows interface{} `json:"rows"`
}
type Response struct {
ErrCode int `json:"code"`
ErrMsg string `json:"msg"`
Timestamp int64 `json:"timestamp"`
Success bool `json:"success"`
Data interface{} `json:"data"`
}
Response响应类
type TokenOut struct {
Token string `json:"token"`
Datum interface{} `json:"datum"`
}
TokenOut 带token的data
Source Files
¶
Click to show internal directories.
Click to hide internal directories.