Преглед на файлове

added description for aggregation and bucket types

tags/v1.0.0
Ian Babrou преди 10 години
родител
ревизия
d384dd00bd
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. +2
    -0
      structs.go

+ 2
- 0
structs.go Целия файл

@@ -84,8 +84,10 @@ type Response struct {
Aggregations map[string]Aggregation `json:"aggregations,omitempty"`
}

// Represents an aggregation from response
type Aggregation map[string]interface{}

// Represents a bucket for aggregation
type Bucket map[string]interface{}

// Represents a document to send to elasticsearch


Loading…
Отказ
Запис