chore: fix linter

This commit is contained in:
Vladimir Mihailenco 2021-10-24 09:55:27 +03:00
parent a52a508bbf
commit 38d398f630
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import (
) )
// Scan parses bytes `b` to `v` with appropriate type. // Scan parses bytes `b` to `v` with appropriate type.
//nolint:gocyclo
func Scan(b []byte, v interface{}) error { func Scan(b []byte, v interface{}) error {
switch v := v.(type) { switch v := v.(type) {
case nil: case nil: