go.mod replace #61
Annotations
10 errors and 1 warning
golangci-lint:
pkg/oidc/oidc.go#L92
unnecessary trailing newline (whitespace)
|
golangci-lint:
pkg/oidc/oidc.go#L44
clientcredentials.Config is missing fields EndpointParams, AuthStyle (exhaustruct)
|
golangci-lint:
pkg/oidc/oidc.go#L55
oauth2.Config is missing field ClientSecret (exhaustruct)
|
golangci-lint:
pkg/oidc/oidc.go#L32
NewOidcClient returns interface (github.com/opentdf/backend-go/pkg/oidc.Client) (ireturn)
|
golangci-lint:
pkg/oidc/oidc.go#L73
should rewrite http.NewRequestWithContext or add (*Request).WithContext (noctx)
|
golangci-lint:
pkg/oidc/oidc.go#L75
error returned from external package is unwrapped: sig: func net/http.NewRequest(method string, url string, body io.Reader) (*net/http.Request, error) (wrapcheck)
|
golangci-lint:
pkg/oidc/oidc.go#L79
error returned from external package is unwrapped: sig: func (*net/http.Client).Do(req *net/http.Request) (*net/http.Response, error) (wrapcheck)
|
golangci-lint:
pkg/oidc/oidc.go#L86
error returned from external package is unwrapped: sig: func (*github.com/goccy/go-json.Decoder).Decode(v interface{}) error (wrapcheck)
|
golangci-lint:
pkg/tdf3/client/client.go#L191
Error return value of `chunkWriter.Write` is not checked (errcheck)
|
golangci-lint:
pkg/tdf3/client/client.go#L117
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading