Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reference to undefined identifier ‘json.Delim’ #81

Open
pervak opened this issue Mar 3, 2017 · 3 comments
Open

reference to undefined identifier ‘json.Delim’ #81

pervak opened this issue Mar 3, 2017 · 3 comments

Comments

@pervak
Copy link

pervak commented Mar 3, 2017

Hello!

I try to install the package using go
get github.com/asciimoo/wuzz
but get an error
gocode/src/github.com/nwidger/jsoncolor/jsoncolor.go:197:19: error: reference to undefined identifier ‘json.Delim’ printObject func(json.Delim)

How can I fix it?

@Benaiah
Copy link
Contributor

Benaiah commented Mar 3, 2017

@pervak have you tried go get -u nwidger/jsoncolor, to ensure you're working with the latest version of that package?

@pervak
Copy link
Author

pervak commented Mar 3, 2017

@Benaiah try to use your command and got the similar error:
gocode/src/github.com/nwidger/jsoncolor/jsoncolor.go:197:19: error: reference to undefined identifier ‘json.Delim’ printObject func(json.Delim)
It seems like this variable (json.Delim) doesn't defined in my environment. Any ideas?

@Lupin3000
Copy link

I had this on Debian 8 (via apt install golang). After install 1.7version of go (https://www.digitalocean.com/community/tutorials/how-to-install-go-1-7-on-debian-8) ... this issue was gone for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants