{"modulePath":"github.com/clarketm/test-infra","version":"v0.0.0-20190905173653-cfee08011fea","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package githubPr\n\nCopyright 2019 The Knative Authors\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\n\thttps://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n\n## Types\n\n```go\ntype GithubPr struct {\n\tRobotUserName string\n\tRepoOwner     string\n\tRepoName      string\n\tPr            int\n\tCtx           context.Context\n\tGithubClient  *githubClient.GithubClient\n}\n```\n\n```go\nfunc New(githubTokenLocation, repoOwner, repoName, prNumStr,\n\tbotUserName string) *GithubPr\n```\n\n```go\nfunc (data *GithubPr) CleanAndPostComment(content string) (err error)\n```\nRemove all existing bot comments, and then create a new comment on the repo\n\n```go\nfunc (data *GithubPr) PrStr() string\n```\n\n","path":"github.com/clarketm/test-infra/tools/coverage/githubUtil/githubPr","name":"githubPr","synopsis":"","isRedistributable":true}
