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?
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.
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 rungo build
.How come that I get this error, and how can I fix it?