Index: service/datastore/key.go |
diff --git a/service/datastore/key.go b/service/datastore/key.go |
index eb71f103c044f3ca6b0d76db6760ae61176a36b7..faa6ab711806ce121f94d13dd638b1cc5b57655d 100644 |
--- a/service/datastore/key.go |
+++ b/service/datastore/key.go |
@@ -138,6 +138,10 @@ func MakeKey(aid, ns string, elems ...interface{}) *Key { |
t.IntID = int64(x) |
case int64: |
t.IntID = int64(x) |
+ case uint16: |
+ t.IntID = int64(x) |
+ case uint32: |
+ t.IntID = int64(x) |
default: |
panic(fmt.Errorf("datastore.MakeKey: bad id: %v", x)) |
} |