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

Undefined: bytes.ContainsRune at Build #1

Open
JeroenSteen opened this issue Jun 1, 2017 · 1 comment
Open

Undefined: bytes.ContainsRune at Build #1

JeroenSteen opened this issue Jun 1, 2017 · 1 comment

Comments

@JeroenSteen
Copy link

I have Ubuntu 16.05, and I came across Rdf2RDF because I want to convert an .nt file to .rdf.
I´m new to Go, I installed with apt-get and have go version go1.6.2 linux/amd64.

I added Go bin to Path (under root and normal account), and tried go get -u github.com/knakk/rdf2rdf.
But I get a /root/go/src/github.com/knakk/rdf/lex.go:242: undefined: bytes.ContainsRune error, also when I clone the repo and run go build.

How come that I get this error, and how can I fix it?

@boutros
Copy link
Member

boutros commented Jun 2, 2017

bytes.ContainsRune is from go version 1.7.
If you don't want/or can't upgrade, I might provide binaries for rdf2rdf or consider updating the library to not depend on that function.

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

2 participants