github sdk: add withClient options so we can override the default client, useful for adding unit tests with httptest.NewServer #1862
style.yaml
on: pull_request
check gofmt
19s
check goimports
31s
golangci-lint
1m 27s
Lint
39s
Annotations
2 errors and 2 warnings
golangci-lint:
modules/github-bots/sdk/github_test.go#L55
unused-parameter: parameter 'origClient' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint
issues found
|
Lint
Input 'fail_on_error' has been deprecated with message: Deprecated, use `fail_level` instead.
|
Lint
Input 'fail_on_error' has been deprecated with message: Deprecated, use `fail_level` instead.
|