OLD | NEW |
1 // generated by stringer -type=PropertyType; DO NOT EDIT | 1 // Code generated by "stringer -type=PropertyType"; DO NOT EDIT |
2 | 2 |
3 package datastore | 3 package datastore |
4 | 4 |
5 import "fmt" | 5 import "fmt" |
6 | 6 |
7 const _PropertyType_name = "PTNullPTIntPTTimePTBoolPTBytesPTStringPTFloatPTGeoPo
intPTKeyPTBlobKeyPTUnknown" | 7 const _PropertyType_name = "PTNullPTIntPTTimePTBoolPTBytesPTStringPTFloatPTGeoPo
intPTKeyPTBlobKeyPTUnknown" |
8 | 8 |
9 var _PropertyType_index = [...]uint8{0, 6, 11, 17, 23, 30, 38, 45, 55, 60, 69, 7
8} | 9 var _PropertyType_index = [...]uint8{0, 6, 11, 17, 23, 30, 38, 45, 55, 60, 69, 7
8} |
10 | 10 |
11 func (i PropertyType) String() string { | 11 func (i PropertyType) String() string { |
12 if i >= PropertyType(len(_PropertyType_index)-1) { | 12 if i >= PropertyType(len(_PropertyType_index)-1) { |
13 return fmt.Sprintf("PropertyType(%d)", i) | 13 return fmt.Sprintf("PropertyType(%d)", i) |
14 } | 14 } |
15 return _PropertyType_name[_PropertyType_index[i]:_PropertyType_index[i+1
]] | 15 return _PropertyType_name[_PropertyType_index[i]:_PropertyType_index[i+1
]] |
16 } | 16 } |
OLD | NEW |