CreateGithubRepoClientWithTransport returns a Client which implements RepoClient interface.
(ctx context.Context, rt http.RoundTripper)
| 337 | |
| 338 | // CreateGithubRepoClientWithTransport returns a Client which implements RepoClient interface. |
| 339 | func CreateGithubRepoClientWithTransport(ctx context.Context, rt http.RoundTripper) clients.RepoClient { |
| 340 | //nolint:errcheck // need to suppress because this method doesn't return an error |
| 341 | rc, _ := NewRepoClient(ctx, WithRoundTripper(rt)) |
| 342 | return rc |
| 343 | } |
| 344 | |
| 345 | // NewRepoClient returns a Client which implements RepoClient interface. |
| 346 | // It can be configured with various [Option]s. |
no test coverage detected