This fix some trivial issues reported by go-critic.
The only one missing need to be checked more carefully. See,
golangci-lint run --disable-all --enable=gocritic ./...
driver/internal/protocol/fieldtype.go:385:2: singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
switch v := v.(type) {
^
Hi @stfnmllr,
This fix some trivial issues reported by go-critic.
The only one missing need to be checked more carefully. See,