RedisGraph / redisgraph-go

A Golang client for redisgraph
https://redisgraph.io
BSD 3-Clause "New" or "Revised" License
132 stars 38 forks source link

Can't use redis-graph example #1

Closed luisantonioig closed 5 years ago

luisantonioig commented 5 years ago

I am trying to use redis-graph with the README's example but all I get is the next error:

$ go run main.go 
# command-line-arguments
./main.go:5:2: imported and not used: "github.com/redislabs/redisgraph-go" as redisgraph
./main.go:12:11: undefined: Graph
./main.go:14:13: undefined: Node
./main.go:25:30: undefined: Node
./main.go:33:39: undefined: Edge
itamarhaber commented 5 years ago

@luisantonioig - thanks, fixed the example - please try now.

luisantonioig commented 5 years ago

Thanks!