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

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

Issue 1521823003: Clean up callback interfaces. (Closed) Base URL: https://github.com/luci/gae.git@extra
Patch Set: Created 5 years 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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698