mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-06-21 14:17:29 +08:00
fix: run go vet to fix some issues with json tag (#936)
Co-authored-by: Naman Jain <jain_n@apple.com>
This commit is contained in:
parent
a566b5dc97
commit
53e7037f48
@ -62,7 +62,7 @@ type QueryScan struct {
|
|||||||
Limit int64 `json:"limit,omitempty"`
|
Limit int64 `json:"limit,omitempty"`
|
||||||
Offset int64 `json:"offset,omitempty"`
|
Offset int64 `json:"offset,omitempty"`
|
||||||
BatchSize int64 `json:"batchSize,omitempty"`
|
BatchSize int64 `json:"batchSize,omitempty"`
|
||||||
Order string `json:"order",omitempty`
|
Order string `json:"order,omitempty"`
|
||||||
ResultFormat string `json:"resultFormat"`
|
ResultFormat string `json:"resultFormat"`
|
||||||
Context map[string]interface{} `json:"context,omitempty"`
|
Context map[string]interface{} `json:"context,omitempty"`
|
||||||
|
|
||||||
@ -189,7 +189,7 @@ type TimeBoundaryItem struct {
|
|||||||
|
|
||||||
type TimeBoundary struct {
|
type TimeBoundary struct {
|
||||||
MinTime string `json:"minTime"`
|
MinTime string `json:"minTime"`
|
||||||
MaxTime string `json:"minTime"`
|
MaxTime string `json:"maxTime"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (q *QueryTimeBoundary) setup() { q.QueryType = "timeBoundary" }
|
func (q *QueryTimeBoundary) setup() { q.QueryType = "timeBoundary" }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user