1
0
mirror of https://github.com/redis/go-redis.git synced 2025-04-16 09:23:06 +03:00

chore: fix linter

This commit is contained in:
Vladimir Mihailenco 2021-10-24 09:55:27 +03:00
parent a52a508bbf
commit 38d398f630

View File

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