| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Package alerts contains structs defined to implement the json format: | 5 // Package alerts contains structs defined to implement the json format: |
| 6 // https://docs.google.com/document/d/10MESGzRy9uAy3Y3-PxUcjiuF3BD3FGGmCNvCjqm3W
QQ/preview | 6 // https://docs.google.com/document/d/10MESGzRy9uAy3Y3-PxUcjiuF3BD3FGGmCNvCjqm3W
QQ/preview |
| 7 | 7 |
| 8 package messages | 8 package messages |
| 9 | 9 |
| 10 import ( | 10 import ( |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 type RegressionRange struct { | 107 type RegressionRange struct { |
| 108 Repo string `json:"repo"` | 108 Repo string `json:"repo"` |
| 109 URL string `json:"url"` | 109 URL string `json:"url"` |
| 110 Revisions []string `json:"revisions"` | 110 Revisions []string `json:"revisions"` |
| 111 Positions []string `json:"positions"` | 111 Positions []string `json:"positions"` |
| 112 } | 112 } |
| 113 | 113 |
| 114 // RevisionSummary summarizes some information about a revision. | 114 // RevisionSummary summarizes some information about a revision. |
| 115 type RevisionSummary struct { | 115 type RevisionSummary struct { |
| 116 GitHash string `json:"git_hash"` | 116 GitHash string `json:"git_hash"` |
| 117 Position string `json:"commit_position"` |
| 118 Branch string `json:"branch"` |
| 117 Link string `json:"link"` | 119 Link string `json:"link"` |
| 118 Description string `json:"description"` | 120 Description string `json:"description"` |
| 119 Author string `json:"author"` | 121 Author string `json:"author"` |
| 120 When EpochTime `json:"when"` | 122 When EpochTime `json:"when"` |
| 121 } | 123 } |
| OLD | NEW |