Skip to content

Cannot be checked by golangci-lint #119

@any0Ne1010

Description

@any0Ne1010

Currently executing golangci-lint produces G114 errors, maybe we should remove the check for G114?

$ golangci-lint run --out-format=github-actions --timeout 10m
::error file=rpc/websockets.go,line=114,col=10::G114: Use of net/http serve function that has no support for setting timeouts (gosec)
::error file=rpc/websockets.go,line=116,col=10::G114: Use of net/http serve function that has no support for setting timeouts (gosec)

G114 definition:

- G114 # Use of net/http serve function that has no support for setting timeouts

Related link: https://golangci-lint.run/usage/linters/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions