Chromium Code Reviews

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: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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

Powered by Google App Engine