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

Unified Diff: golden/go/types/types.go

Issue 650253003: Added HTTP endpoints for Correctness counts (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Fixed comments Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « golden/go/skiacorrectness/main.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: golden/go/types/types.go
diff --git a/golden/go/types/types.go b/golden/go/types/types.go
index 7221eda42d52b6eb0e6f84e20ddabb95bffe315a..2f435b102807a464f1cd4cd915a51cb544a3e4b3 100644
--- a/golden/go/types/types.go
+++ b/golden/go/types/types.go
@@ -6,9 +6,13 @@ type Label int
const (
// Primary key field that uniquely identifies a key.
PRIMARY_KEY_FIELD = "name"
+)
+// Note: Some code in analysis depends on the order of this enum and
+// also on UNTRIAGED being 0.
+const (
// Classifications for observed digests.
- UNTRIAGED Label = iota
+ UNTRIAGED Label = iota // == 0
POSITIVE
NEGATIVE
)
« no previous file with comments | « golden/go/skiacorrectness/main.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698