diff options
| author | Shulhan <ms@kilabit.info> | 2024-03-06 03:06:54 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-03-06 03:06:54 +0700 |
| commit | 1e7cb99f42bcd41e98326bd9406d3cecfb2a4542 (patch) | |
| tree | 9981f1ebc98670f516939374012646314dda663f /lib/websocket | |
| parent | 16607dc13477ee53d95ee0295192643f6e726652 (diff) | |
| download | pakakeh.go-1e7cb99f42bcd41e98326bd9406d3cecfb2a4542.tar.xz | |
all: conform with linter gosec, ineffasign, and makezero
Some of warnings from those linter are false positives, so we just
annotated them.
Diffstat (limited to 'lib/websocket')
| -rw-r--r-- | lib/websocket/request.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/websocket/request.go b/lib/websocket/request.go index d56d6406..60a44349 100644 --- a/lib/websocket/request.go +++ b/lib/websocket/request.go @@ -59,7 +59,7 @@ type Request struct { ID uint64 `json:"id"` // Conn is the client connection, where the request come from. - Conn int + Conn int `json:"-"` } // reset all Request field's value to zero. |
