Skip to content

undefined: ffjson.DecodeFast #245

Open
@bmeh

Description

@bmeh
bmeh@arch test $ cat main.go 
package main

import "github.com/pquerna/ffjson/ffjson"

func main() {
        ffjson.DecodeFast()
}
bmeh@arch test $ 
$ go build
# _/tmp/test
./main.go:6:2: undefined: ffjson.DecodeFast

What am I missing? I double-checked, the version (master) I have downloaded contains DecodeFast in decoder.go.

I ran go vet decoder.go, it says:

# command-line-arguments
./decoder.go:42:14: undefined: unmarshalFaster
./decoder.go:62:14: undefined: unmarshalFaster
./decoder.go:82:14: undefined: unmarshalFaster

Is this library for an outdated version of go?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions