{"modulePath":"github.com/Eun/github-comment","version":"v0.0.0-20191210114301-d66cad15c017","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package githubcomment\n\n## Types\n\n```go\ntype GithubComment struct {\n\tClient     *github.Client\n\tContext    context.Context\n\tOwner      string\n\tRepository string\n}\n```\n\n```go\nfunc (gc *GithubComment) FindIssueComment(issueID int, id ID) (*github.Issue, *github.IssueComment, error)\n```\nFindIssueComment finds a issue comment and returns it\n\n```go\nfunc (gc *GithubComment) GetIssueComment(issueID int, id ID) (*Info, error)\n```\nGetIssueComment returns the info for a comment\n\n```go\nfunc (gc *GithubComment) PostIssueComment(issueID int, id ID, text string, meta interface{}) error\n```\nPostIssueComment posts a new comment with the specified id\n\n```go\nfunc (gc *GithubComment) PostOrUpdateIssueComment(issueID int, id ID, text string, meta interface{}) error\n```\nPostOrUpdateIssueComment  posts an new comment if it was not able to update the existing comment, if you omit the ID it will always post a new comment\n\n```go\nfunc (gc *GithubComment) UpdateIssueComment(issueID int, id ID, text string, meta interface{}) error\n```\nUpdateIssueComment updates an existing comment\n\n```go\ntype ID string\n```\n\n```go\nfunc (i ID) GetID() string\n```\n\n```go\ntype IDMustBeSpecifiedError struct{}\n```\n\n```go\nfunc (e IDMustBeSpecifiedError) Error() string\n```\n\n```go\ntype Info struct {\n\tID   ID\n\tBody string\n\tMeta interface{}\n}\n```\n\n```go\nfunc ParseInfo(raw string) (*Info, error)\n```\nParseInfo parses the body of a comment\n\n```go\nfunc (i *Info) Build() (string, error)\n```\nBuild builds a info\n\n```go\ntype IssueCommentNotFoundError struct {\n\tID ID\n}\n```\n\n```go\nfunc (e IssueCommentNotFoundError) Error() string\n```\n\n","path":"github.com/Eun/github-comment","name":"githubcomment","synopsis":"","isRedistributable":true}
