This commit is contained in:
gr-dv committed 2026-11-25 18:30:00 +03:00
1 parent 6bf8c4e6e3
commit 49ddbc5531
9 files changed
+30 -31

No files matched your search

-2
View File
@@ -33,7 +33,6 @@ func init() {
}
var (
// nolint: gochecknoglobals
codeMap = map[int]codes.Code{
http.StatusOK: codes.OK,
http.StatusRequestTimeout: codes.Canceled,
@@ -49,7 +48,6 @@ var (
http.StatusInternalServerError: codes.Internal,
http.StatusServiceUnavailable: codes.Unavailable,
}
// nolint: gochecknoglobals
inverseCodeMap = map[codes.Code]int{}
)