package cnb import ( "context" "cnb.cool/cnb/go-cnb/cnb" ) func ListIssues(ctx context.Context, client *cnb.Client, repoName string, opts *cnb.IssueListOptions) ([]cnb.Issue, error) { issues, rsp, err := client.Issues.List(ctx, repoName, opts) if err != nil { return nil, err } handleHttpResponse(rsp) return issues, nil }