Skip to content

Build fails on FreeBSD  #583

Closed
Closed
@jalaluddeen

Description

@jalaluddeen

getting this error when I run the command go get -t ./...

github.com/elastic/beats/filebeat/harvester

harvester/encoding.go:23: cannot use utf8Encoding literal (type utf8Encoding) as type encoding.Encoding in map value:
utf8Encoding does not implement encoding.Encoding (wrong type for NewDecoder method)
have NewDecoder() transform.Transformer
want NewDecoder() *encoding.Decoder
harvester/encoding.go:24: cannot use utf8Encoding literal (type utf8Encoding) as type encoding.Encoding in map value:
utf8Encoding does not implement encoding.Encoding (wrong type for NewDecoder method)
have NewDecoder() transform.Transformer
want NewDecoder() *encoding.Decoder
harvester/encoding.go:25: cannot use utf8Encoding literal (type utf8Encoding) as type encoding.Encoding in map value:
utf8Encoding does not implement encoding.Encoding (wrong type for NewDecoder method)
have NewDecoder() transform.Transformer
want NewDecoder() *encoding.Decoder

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions