tidwall / gjson

Get JSON values quickly - JSON parser for Go
MIT License
14.1k stars 846 forks source link

Installation error in AWS VM #258

Open monkeyboy1492 opened 2 years ago

monkeyboy1492 commented 2 years ago

The installation instructions work perfectly on a local development linux machine. However, when running a full linux VM in AWS (Suse Enterprise) on which Go is properly installed and tested.

When I attempt to install gjson: go get -u github.com/tidwall/gjson

result is this error: # github.com/tidwall/gjson /usr/share/go/1.9/contrib/src/github.com/tidwall/gjson/gjson.go:2836:10: undefined: strings.Builder

Any suggestions?

tidwall commented 2 years ago

/usr/share/go/1.9

It appears that the version of Go on that computer too old for gjson. The minimum requirements for gjson is Go 1.12.

monkeyboy1492 commented 2 years ago

Lol - a perfect fix! Thanks!