func ToGAE(c appengine.Context, k key.Key) *datastore.Key { if len(k) < 1 { return nil } kind, stringID, intID, parent := k.Split() return datastore.NewKey(c, kind, stringID, intID, ToGAE(c, key.Key(parent))) }