radoondas / elasticbeat

Simple Beat for ElasticSearch statistics
Apache License 2.0
30 stars 16 forks source link

Cannot build with go 1.8.1: /main.go:13: cannot use beater.New() (type *beater.Elasticbeat) as type #38

Open rs18608 opened 7 years ago

rs18608 commented 7 years ago

Hello, cannot get this to build with "go version go1.8.1 darwin/amd64".

make go build

>

./main.go:13: cannot use beater.New() (type *beater.Elasticbeat) as type "github.com/elastic/beats/libbeat/beat".Creator in argument to "github.com/elastic/beats/libbeat/beat".Run make: *** [build] Error 2

Any ideas?

Thanks, Lynn

radoondas commented 7 years ago

Thanks for reporting. Elasticbeat is not compatible with Go1.8 This will be fixed with next releases.

kwojcicki commented 7 years ago

Hey @radoondas I have been working on updating this repo to libbeat 6.0 wondering if there would be any interest in me making a PR for it?