package
Version:
v1.1.3
Opens a new window with list of versions in this module.
Published: Aug 16, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ParamList struct {
Skip int `form:"skip" json:"skip"`
Limit int `form:"limit" json:"limit"`
}
type ParamSearch struct {
Skip int `form:"skip" json:"skip"`
Limit int `form:"limit" json:"limit"`
Sort map[string]int `form:"sort" json:"sort"`
Filters map[string]interface{} `form:"filter" json:"filter"`
Keywords map[string]string `form:"keyword" json:"keyword"`
}
type ReplyData[T any] struct {
Data T `json:"data"`
Error string `json:"error,omitempty"`
}
type ReplyList[T any] struct {
Data []T `json:"data"`
Total int64 `json:"total"`
Error string `json:"error,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.