I have a struct:
type struct Foo {
Id ??
Name string
}
I get a list of Foos doing, where "c" is a NewContext():
q := datastore.NewQuery("Drug")
var foos []Foo
_, err := q.GetAll(c, &foos)
The Id is not populated, but the Name is. I'm trying to figure out how to get the Id to populate