ソースを参照

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


読み込み中…
キャンセル
保存