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
Currently executing golangci-lint produces G114 errors, maybe we should remove the check for G114?
G114 definition:
Related link: https://golangci-lint.run/usage/linters/