Versions in this module Expand all Collapse all v1 v1.0.0 Jun 3, 2021 Changes in this version + func Camel2Case(name string) string + func Mapping(m interface{}) string + type Buffer struct + func NewBuffer() *Buffer + func (b *Buffer) Append(i interface{}) *Buffer + type ES struct + func NewES(hosts []string) (*ES, error) + func (es *ES) BulkIndexRequest(index string) *elastic.BulkIndexRequest + func (es *ES) Client() *elastic.Client + type EsMappings struct + Mappings *Mappings + Settings *Settings + func (e EsMappings) String() string + type Mappings struct + Properties map[string]Property + type Property struct + Fielddata bool + Store bool + Type string + type Settings struct + NumberOfReplicas int64 + NumberOfShards int64 + type Tweet struct + A float32 + Created time.Time + Image string + Location string + Message string + Retweets int + Suggest *elastic.SuggestField + Tags []string + User string