Categories
Mastering Development

Facing issue querying google datastore

Here’s the part of the code var Ctx = context.Background() DSClient, err := datastore.NewClient(Ctx, PROJECT_ID) if err != nil { log.Fatal(“Couldn’t connect to DataStore: “, err) } log.Print(“DataStore Client: “, DSClient) q := datastore.NewQuery(“users”).Filter(“email=”, greq.Email).Limit(1) keys, err := config.DSClient.GetAll(config.Ctx, q, &urs) I’m getting following error. http: panic serving 127.0.0.1:60844: runtime error: invalid memory address or […]