makefile: switched to golangci-lint
This commit is contained in:
@@ -167,7 +167,7 @@ func (m *Mapper) FieldsByName(v reflect.Value, names []string) []reflect.Value {
|
||||
// to a struct. Returns empty int slice for each name not found.
|
||||
func (m *Mapper) TraversalsByName(t reflect.Type, names []string) [][]int {
|
||||
r := make([][]int, 0, len(names))
|
||||
m.TraversalsByNameFunc(t, names, func(_ int, i []int) error {
|
||||
m.TraversalsByNameFunc(t, names, func(_ int, i []int) error { // nolint
|
||||
if i == nil {
|
||||
r = append(r, []int{})
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user