Chore: Remove unused Go code (#28852)
* Chore: Remove more unused Go code Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
@@ -97,11 +97,6 @@ type BoolQuery struct {
|
||||
Filters []Filter
|
||||
}
|
||||
|
||||
// NewBoolQuery create a new bool query
|
||||
func NewBoolQuery() *BoolQuery {
|
||||
return &BoolQuery{Filters: make([]Filter, 0)}
|
||||
}
|
||||
|
||||
// MarshalJSON returns the JSON encoding of the boolean query.
|
||||
func (q *BoolQuery) MarshalJSON() ([]byte, error) {
|
||||
root := make(map[string]interface{})
|
||||
|
||||
Reference in New Issue
Block a user