package cnb import ( "context" "cnb.cool/cnb/go-cnb/cnb" ) func GetRepo(ctx context.Context, client *cnb.Client, repoName string) (*cnb.Repository, error) { repo, rsp, err := client.Repositories.Get(ctx, repoName) if err != nil { return nil, err } handleHttpResponse(rsp) return repo, nil }