gojson
gojson copied to clipboard
State gopkg.in/yaml.v2 as a prequisite
After installation on a fresh system I got:
json-to-struct.go:112:2: cannot find package "gopkg.in/yaml.v2" in any of:
So we have to first install the yaml package. Please add this to the docs or install it iimplicit if needed.
Which version of Go are you running? gopkg.in/yaml.v2
is in the vendor/
directory, so newer versions of Go should be able to pick it up there.