소스 검색

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


불러오는 중...
취소
저장