You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's because DecodeFast is not a global method in ffjson. It's a method of Decoder. So you need to do something like ffjson.NewDecoder().DecodeFast(). It has arguments as well so that will be your next error if you call it without arguments.
Also running go vet on just one file isn't going to work seeing as it depends on other files in the same package as well. Running go vet on the whole package results in no errors or warnings.
What am I missing? I double-checked, the version (master) I have downloaded contains
DecodeFast
indecoder.go
.I ran
go vet decoder.go
, it says:Is this library for an outdated version of
go
?The text was updated successfully, but these errors were encountered: