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

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

Issue 1521823003: Clean up callback interfaces. (Closed) Base URL: https://github.com/luci/gae.git@extra
Patch Set: fixins 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
« no previous file with comments | « service/datastore/reflect.go ('k') | service/datastore/types.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Code generated by "stringer -type=Toggle"; DO NOT EDIT
2
3 package datastore
4
5 import "fmt"
6
7 const _Toggle_name = "AutoOnOff"
8
9 var _Toggle_index = [...]uint8{0, 4, 6, 9}
10
11 func (i Toggle) String() string {
12 if i >= Toggle(len(_Toggle_index)-1) {
13 return fmt.Sprintf("Toggle(%d)", i)
14 }
15 return _Toggle_name[_Toggle_index[i]:_Toggle_index[i+1]]
16 }
OLDNEW
« no previous file with comments | « service/datastore/reflect.go ('k') | service/datastore/types.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698