{"modulePath":"github.com/sirrend/terrap-cli","version":"v0.0.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package github_issue\n\n## Functions\n\n```go\nfunc OpenIssue(ghToken, title, description string, isFeatureRequest bool) (string, error)\n```\nOpenIssue\n\n@brief:\n\n\tOpenIssue open an issue on in Terrap's repository\n\n@params:\n\n\tghToken - string - the GitHub token to use\n\ttitle - string - the issue title\n\tdescription - string - the problem / feature request title\n\tisFeatureRequest - bool - is a feature request\n\n@returns:\n\n\tstring - the new issue number\n\terror - if exists\n\n## Types\n\n```go\ntype RateError struct {\n\t// contains filtered or unexported fields\n}\n```\nRateError represents a case where the amount of GitHub url calls allowed per hour was exceeded\n\n```go\nfunc (e RateError) Error() string\n```\nError\n\n@brief:\n\n\tError implementation of the error interface\n\n@returns:\n\n\tstring - the error itself\n\n```go\nfunc (e *RateError) Unwrap() error\n```\nUnwrap\n\n@brief:\n\n\tUnwrap returns the wrapped error, if any.\n\n@returns:\n\n\terror\n\n","path":"github.com/sirrend/terrap-cli/internal/github_issue","name":"github_issue","synopsis":"","isRedistributable":true}
