Enabled errcheck linter
This commit is contained in:
parent
f464e830bf
commit
9f54617e6e
@ -6,7 +6,6 @@ linters:
|
||||
enable-all: true
|
||||
disable:
|
||||
- dupl
|
||||
- errcheck
|
||||
- lll
|
||||
- goconst
|
||||
- gochecknoglobals
|
||||
|
@ -186,6 +186,7 @@ func RenderField(b *strings.Builder, v *reflect.Value, field reflect.StructField
|
||||
}
|
||||
|
||||
// String field
|
||||
// nolint:errcheck
|
||||
func renderStringField(b io.StringWriter, v *reflect.Value, field reflect.StructField, idPrefix string, fieldValue reflect.Value) {
|
||||
idType := field.Tag.Get("idType")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user