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:
Naman Jain 2022-04-02 16:15:03 +05:30 committed by GitHub
parent a566b5dc97
commit 53e7037f48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ type QueryScan struct {
Limit int64 `json:"limit,omitempty"`
Offset int64 `json:"offset,omitempty"`
BatchSize int64 `json:"batchSize,omitempty"`
Order string `json:"order",omitempty`
Order string `json:"order,omitempty"`
ResultFormat string `json:"resultFormat"`
Context map[string]interface{} `json:"context,omitempty"`
@ -189,7 +189,7 @@ type TimeBoundaryItem struct {
type TimeBoundary struct {
MinTime string `json:"minTime"`
MaxTime string `json:"minTime"`
MaxTime string `json:"maxTime"`
}
func (q *QueryTimeBoundary) setup() { q.QueryType = "timeBoundary" }