{"modulePath":"github.com/hellofresh/github-cli","version":"v0.0.16","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package pullapprove\n\n## Variables\n\n```go\nvar (\n\t// ErrPullApproveUnauthorized is used when we receive a 401 from pull approve\n\tErrPullApproveUnauthorized = errors.New(\"you do not have permissions to use pull approve API\")\n\n\t// ErrPullApproveServerError is used when we receive a code different than 200 from pull approve\n\tErrPullApproveServerError = errors.New(\"could not create a pull approve repository\")\n)\n```\n\n## Types\n\n```go\ntype Client struct {\n\tToken string\n\t// contains filtered or unexported fields\n}\n```\nClient represents a pull approve client\n\n```go\nfunc New(token string) *Client\n```\nNew creates a new instance of Client\n\n```go\nfunc (c *Client) Create(name string, org string) error\n```\nCreate creates a new repository on pull approve\n\n```go\nfunc (c *Client) Delete(name string, org string) error\n```\nDelete deletes a repository from pull approve\n\n","path":"github.com/hellofresh/github-cli/pkg/pullapprove","name":"pullapprove","synopsis":"","isRedistributable":true}
