| // Code generated by "stringer -type=PropertyType"; DO NOT EDIT. |
| |
| package datastore |
| |
| import "strconv" |
| |
| func _() { |
| // An "invalid array index" compiler error signifies that the constant values have changed. |
| // Re-run the stringer command to generate them again. |
| var x [1]struct{} |
| _ = x[PTNull-0] |
| _ = x[PTInt-1] |
| _ = x[PTTime-2] |
| _ = x[PTBool-3] |
| _ = x[PTBytes-4] |
| _ = x[PTString-5] |
| _ = x[PTFloat-6] |
| _ = x[PTGeoPoint-7] |
| _ = x[PTKey-8] |
| _ = x[PTBlobKey-9] |
| _ = x[PTPropertyMap-10] |
| _ = x[PTUnknown-11] |
| } |
| |
| const _PropertyType_name = "PTNullPTIntPTTimePTBoolPTBytesPTStringPTFloatPTGeoPointPTKeyPTBlobKeyPTPropertyMapPTUnknown" |
| |
| var _PropertyType_index = [...]uint8{0, 6, 11, 17, 23, 30, 38, 45, 55, 60, 69, 82, 91} |
| |
| func (i PropertyType) String() string { |
| if i >= PropertyType(len(_PropertyType_index)-1) { |
| return "PropertyType(" + strconv.FormatInt(int64(i), 10) + ")" |
| } |
| return _PropertyType_name[_PropertyType_index[i]:_PropertyType_index[i+1]] |
| } |