Update documentation for the go client

hi guys, not sure but I think than there is an error in the doc


import (
	"context"
	"flag"
	"fmt"
	"log"
	"time"

	"google.golang.org/grpc"

	"github.com/dgraph-io/dgraph/client"
	"github.com/dgraph-io/dgraph/query/graph" //replace for github.com/dgraph-io/dgraph/protos/graphp
	"github.com/twpayne/go-geom/encoding/wkb"
)

the github.com/dgraph-io/dgraph/query/graph seems not exist any more, I could find the new package checking the documentation

github.com/dgraph-io/dgraph/protos/graphp

has the same functionality, also include than you need install it
go get -u github.com/dgraph-io/dgraph/protos/graphp

thank you

That was a recent change. That’s for catching the big. @ashish can you fix this?

Thanks for finding the issue in docs.
We have fixed them.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.