@@ -318,95 +318,95 @@ func And(queries []string) string {
318
318
})
319
319
}
320
320
321
- func DistanceEqual(attribute string, values [] interface{}, distance float64, meters bool) string {
321
+ func DistanceEqual(attribute string, values interface{}, distance float64, meters bool) string {
322
322
return parseQuery(queryOptions{
323
323
Method: "distanceEqual",
324
324
Attribute: & attribute,
325
325
Values: & []interface{}{values, distance, meters},
326
326
})
327
327
}
328
328
329
- func DistanceNotEqual(attribute string, values [] interface{}, distance float64, meters bool) string {
329
+ func DistanceNotEqual(attribute string, values interface{}, distance float64, meters bool) string {
330
330
return parseQuery(queryOptions{
331
331
Method: "distanceNotEqual",
332
332
Attribute: & attribute,
333
333
Values: & []interface{}{values, distance, meters},
334
334
})
335
335
}
336
336
337
- func DistanceGreaterThan(attribute string, values [] interface{}, distance float64, meters bool) string {
337
+ func DistanceGreaterThan(attribute string, values interface{}, distance float64, meters bool) string {
338
338
return parseQuery(queryOptions{
339
339
Method: "distanceGreaterThan",
340
340
Attribute: & attribute,
341
341
Values: & []interface{}{values, distance, meters},
342
342
})
343
343
}
344
344
345
- func DistanceLessThan(attribute string, values [] interface{}, distance float64, meters bool) string {
345
+ func DistanceLessThan(attribute string, values interface{}, distance float64, meters bool) string {
346
346
return parseQuery(queryOptions{
347
347
Method: "distanceLessThan",
348
348
Attribute: & attribute,
349
349
Values: & []interface{}{values, distance, meters},
350
350
})
351
351
}
352
352
353
- func Intersects(attribute string, values [] interface{}) string {
353
+ func Intersects(attribute string, values interface{}) string {
354
354
return parseQuery(queryOptions{
355
355
Method: "intersects",
356
356
Attribute: & attribute,
357
357
Values: & values,
358
358
})
359
359
}
360
360
361
- func NotIntersects(attribute string, values [] interface{}) string {
361
+ func NotIntersects(attribute string, values interface{}) string {
362
362
return parseQuery(queryOptions{
363
363
Method: "notIntersects",
364
364
Attribute: & attribute,
365
365
Values: & values,
366
366
})
367
367
}
368
368
369
- func Crosses(attribute string, values [] interface{}) string {
369
+ func Crosses(attribute string, values interface{}) string {
370
370
return parseQuery(queryOptions{
371
371
Method: "crosses",
372
372
Attribute: & attribute,
373
373
Values: & values,
374
374
})
375
375
}
376
376
377
- func NotCrosses(attribute string, values [] interface{}) string {
377
+ func NotCrosses(attribute string, values interface{}) string {
378
378
return parseQuery(queryOptions{
379
379
Method: "notCrosses",
380
380
Attribute: & attribute,
381
381
Values: & values,
382
382
})
383
383
}
384
384
385
- func Overlaps(attribute string, values [] interface{}) string {
385
+ func Overlaps(attribute string, values interface{}) string {
386
386
return parseQuery(queryOptions{
387
387
Method: "overlaps",
388
388
Attribute: & attribute,
389
389
Values: & values,
390
390
})
391
391
}
392
392
393
- func NotOverlaps(attribute string, values [] interface{}) string {
393
+ func NotOverlaps(attribute string, values interface{}) string {
394
394
return parseQuery(queryOptions{
395
395
Method: "notOverlaps",
396
396
Attribute: & attribute,
397
397
Values: & values,
398
398
})
399
399
}
400
400
401
- func Touches(attribute string, values [] interface{}) string {
401
+ func Touches(attribute string, values interface{}) string {
402
402
return parseQuery(queryOptions{
403
403
Method: "touches",
404
404
Attribute: & attribute,
405
405
Values: & values,
406
406
})
407
407
}
408
408
409
- func NotTouches(attribute string, values [] interface{}) string {
409
+ func NotTouches(attribute string, values interface{}) string {
410
410
return parseQuery(queryOptions{
411
411
Method: "notTouches",
412
412
Attribute: & attribute,
0 commit comments