FormatWorksheet formats a worksheet resource name. Format: projects/{project}/worksheets/{worksheet}
(projectID, worksheetID string)
| 457 | // FormatWorksheet formats a worksheet resource name. |
| 458 | // Format: projects/{project}/worksheets/{worksheet} |
| 459 | func FormatWorksheet(projectID, worksheetID string) string { |
| 460 | return fmt.Sprintf("%s/%s%s", FormatProject(projectID), WorksheetIDPrefix, worksheetID) |
| 461 | } |
| 462 | |
| 463 | // GetReviewConfigID returns the review config id from a resource name. |
| 464 | func GetReviewConfigID(name string) (string, error) { |
no test coverage detected