I'm using go version go1.6.2 (appengine-1.9.40) darwin/amd64
When saving a struct to the datastore, slices of structs which have been tagged as "noindex", are showing up as indexed in the datastore viewer, while non struct fields are correctly showing as unindexed
As an example, I have:
Type User struct{
Email string
Buddies []Buddy `datastore:",noindex"`
Language string `datastore:",noindex"`
}
Type Buddy struct{
Name string `datastore:",noindex"`
Age int `datastore:",noindex"`
}
When saving a new User
to the datastore, the datastore viewer shows the properties Buddies.Name
and Buddies.Age
as "Indexed" despite the fact that I've tagged them as "noindex".
How do I get the datastore to not index structs?