diff options
| author | Shulhan <ms@kilabit.info> | 2019-05-07 19:19:52 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2019-05-07 19:19:52 +0700 |
| commit | e9b4abcd1389e2b7927c06f352c6b43f577f9c9d (patch) | |
| tree | 076e6ba97034b3da7d766cff7034c268203d9903 | |
| parent | 63abaac4ff077979e65e262efc43a99a6a847ac3 (diff) | |
| download | pakakeh.go-e9b4abcd1389e2b7927c06f352c6b43f577f9c9d.tar.xz | |
dns: suppress linter warning on global variable "rcodeNames"
| -rw-r--r-- | lib/dns/dns.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dns/dns.go b/lib/dns/dns.go index 064bf9d3..e3c99471 100644 --- a/lib/dns/dns.go +++ b/lib/dns/dns.go @@ -219,7 +219,7 @@ const ( // rcodeNames contains mapping of response code with their human readable // names. // -var rcodeNames = map[ResponseCode]string{ +var rcodeNames = map[ResponseCode]string{ //nolint: gochecknoglobals RCodeOK: "OK", RCodeErrFormat: "ERR_FORMAT", RCodeErrServer: "ERR_SERVER", |
