Merge master and gaedatastore branch
This commit is contained in:
commit
84718983a5
6 changed files with 476 additions and 9 deletions
|
|
@ -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'")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue