| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 package monorail |
| 6 |
| 7 import "fmt" |
| 8 |
| 9 // AuthScope is OAuth 2.0 auth scope used by Monorail. |
| 10 const AuthScope = "https://www.googleapis.com/auth/userinfo.email" |
| 11 |
| 12 // LabelRestrictViewGoogle specifies that an issue must be visible to googlers o
nly. |
| 13 const LabelRestrictViewGoogle = "Restrict-View-Google" |
| 14 |
| 15 var errGrpcOptions = fmt.Errorf("options are not supported") |
| 16 |
| 17 // IssueURL returns a URL to human-consumable HTML page for the issue. |
| 18 func IssueURL(host, project string, id int32) string { |
| 19 return fmt.Sprintf("https://%s/p/%s/issues/detail?id=%d", host, project,
id) |
| 20 } |
| OLD | NEW |