package
Version:
v0.0.50
Opens a new window with list of versions in this module.
Published: Nov 19, 2024
License: BSD-3-Clause
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
¶
type Join struct {
Table string `json:"table"`
Alias string `json:"alias"`
JoinMode string `json:"joinMode"`
OnList []On `json:"onList"`
}
type On struct {
Name string `json:"name"`
Value string `json:"value"`
Algorithm string `json:"algorithm"`
}
type Page struct {
PageSize int `json:"pageSize"`
PageIndex int `json:"pageIndex"`
TotalPages int `json:"totalPages"`
}
type Query struct {
Count bool `json:"count"`
Export bool `json:"export"`
Page Page `json:"page"`
Query []map[string]interface{} `json:"query"`
Joins []Join `json:"joins"`
OrderBy map[string]string `json:"orderBy"`
Select []string `json:"select"`
}
type ResponseData struct {
Result Result `json:"result"`
Message string `json:"message"`
ErrCode int `json:"errCode"`
}
type Result struct {
Data any `json:"data"`
Page Page `json:"page"`
Total int64 `json:"total"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.