There might be an issue with the current master branch for Go 1.10
$ go get -u github.com/neelance/graphql-go
../../../github.com/neelance/graphql-go/graphql.go:10:2: use of internal package not allowed
../../../github.com/neelance/graphql-go/graphql.go:11:2: use of internal package not allowed
../../../github.com/neelance/graphql-go/graphql.go:12:2: use of internal package not allowed
../../../github.com/neelance/graphql-go/graphql.go:13:2: use of internal package not allowed
../../../github.com/neelance/graphql-go/graphql.go:14:2: use of internal package not allowed
../../../github.com/neelance/graphql-go/graphql.go:15:2: use of internal package not allowed
../../../github.com/neelance/graphql-go/graphql.go:16:2: use of internal package not allowed
$ go version
go version go1.10rc2 linux/amd64
The import path has changed to github.com/graph-gophers/graphql-go, so you should do:
go get -u github.com/graph-gophers/graphql-go
You can read more about it in the README's Status section.
(BTW, the final version of Go 1.10 is released by now.)
Most helpful comment
The import path has changed to
github.com/graph-gophers/graphql-go, so you should do:You can read more about it in the README's Status section.
(BTW, the final version of Go 1.10 is released by now.)