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

Side by Side Diff: milo/appengine/common/model/status_string.go

Issue 2949783002: [milo] appengine/* -> * (Closed)
Patch Set: rebase Created 3 years, 6 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
« no previous file with comments | « milo/appengine/common/model/status.go ('k') | milo/appengine/common/model/summary.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=Status"; DO NOT EDIT.
2
3 package model
4
5 import "fmt"
6
7 const _Status_name = "NotRunRunningSuccessFailureWarningInfraFailureExceptionExp iredDependencyFailureWaitingDependency"
8
9 var _Status_index = [...]uint8{0, 6, 13, 20, 27, 34, 46, 55, 62, 79, 96}
10
11 func (i Status) String() string {
12 if i < 0 || i >= Status(len(_Status_index)-1) {
13 return fmt.Sprintf("Status(%d)", i)
14 }
15 return _Status_name[_Status_index[i]:_Status_index[i+1]]
16 }
OLDNEW
« no previous file with comments | « milo/appengine/common/model/status.go ('k') | milo/appengine/common/model/summary.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698