From 57c2a5b95f59c6f89ddf482c53bfcb9ac8cd0857 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Sat, 31 Jul 2021 15:01:44 +0300 Subject: [PATCH] nolint Signed-off-by: Vasiliy Tolstov --- util.go | 1 + 1 file changed, 1 insertion(+) diff --git a/util.go b/util.go index 16288a6..2d9421f 100644 --- a/util.go +++ b/util.go @@ -153,6 +153,7 @@ func newPathRequest(path string, method string, body string, msg interface{}, ta var b strings.Builder for _, fld := range tpl { _, _ = b.WriteRune('/') + // nolint: nestif if fld[0] == '{' && fld[len(fld)-1] == '}' { if v, ok := fieldsmap[fld[1:len(fld)-1]]; ok { if v != "" {