Merge master and gaedatastore branch

This commit is contained in:
Barak Michener 2015-04-04 19:09:33 -04:00
commit 84718983a5
6 changed files with 476 additions and 9 deletions

View file

@ -102,7 +102,7 @@ func (p *PrimaryKey) String() string {
return ""
}
func (p *PrimaryKey) MarshalJSON() ([]byte, error) {
func (p PrimaryKey) MarshalJSON() ([]byte, error) {
switch p.keyType {
case none:
return nil, errors.New("Cannot marshal PrimaryKey with KeyType of 'none'")