package
Version:
v1.0.5
Opens a new window with list of versions in this module.
Published: Jun 1, 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 ParamAggregate struct {
Point string `form:"point" json:"point"`
Start string `form:"start" json:"start"`
End string `form:"end" json:"end"`
Type string `form:"type" json:"type"`
Area string `form:"area" json:"area"`
Group string `form:"group" json:"group"`
Id string `form:"id" json:"id"`
}
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"`
}
type Result struct {
Id string `json:"id"`
Name string `json:"name"`
Total float64 `json:"total"`
}
type ResultDate struct {
Date string `json:"date"`
Total float64 `json:"total"`
}
type ResultTime struct {
Time string `json:"time"`
Total float64 `json:"total"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.