fix lint
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
f3573e651b
commit
556e8dd568
2
util.go
2
util.go
@ -113,7 +113,7 @@ func newPathRequest(path string, method string, body string, msg interface{}, ta
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
// nolint: gocritic
|
// nolint: gocritic, nestif
|
||||||
if _, ok := fieldsmap[t.name]; ok {
|
if _, ok := fieldsmap[t.name]; ok {
|
||||||
switch val.Type().Kind() {
|
switch val.Type().Kind() {
|
||||||
case reflect.Slice:
|
case reflect.Slice:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user