Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Side by Side Diff: service/datastore/propertytype_string.go

Issue 1354343002: service/datastore: misc improvements in properties.go (Closed) Base URL: https://github.com/luci/gae@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // generated by stringer -type=PropertyType; DO NOT EDIT
2
3 package datastore
4
5 import "fmt"
6
7 const _PropertyType_name = "PTNullPTIntPTTimePTBoolPTBytesPTStringPTFloatPTGeoPo intPTKeyPTBlobKeyPTUnknown"
8
9 var _PropertyType_index = [...]uint8{0, 6, 11, 17, 23, 30, 38, 45, 55, 60, 69, 7 8}
10
11 func (i PropertyType) String() string {
12 if i >= PropertyType(len(_PropertyType_index)-1) {
13 return fmt.Sprintf("PropertyType(%d)", i)
14 }
15 return _PropertyType_name[_PropertyType_index[i]:_PropertyType_index[i+1 ]]
16 }
OLDNEW
« service/datastore/properties.go ('K') | « service/datastore/properties.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698