How can I have dynamic properties in go on the google app engine datastore
问题 I want to do something like the Expando Model that python supports on app engine. Sometimes you don't want to declare your properties ahead of time. A special model subclass, Expando, changes the behavior of its entities so that any attribute assigned (as long as it doesn't start with an underscore) is saved to the Datastore. How can I do this in Go? 回答1: Note beforehand: There are 2 APIs. The one with import path appengine/datastore uses channels as arguments. The other with import path