gojson icon indicating copy to clipboard operation
gojson copied to clipboard

State gopkg.in/yaml.v2 as a prequisite

Open CodeFreezr opened this issue 7 years ago • 1 comments

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.

CodeFreezr avatar Jan 14 '18 07:01 CodeFreezr

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.

ChimeraCoder avatar Jan 28 '18 22:01 ChimeraCoder