1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-31 05:04:23 +03:00

Add SliceCmd.Scan() (hscan pkg) and tests

This commit is contained in:
Kailash Nadh
2021-02-02 13:04:52 +05:30
parent 380ab17274
commit a4144ea98e
4 changed files with 135 additions and 2 deletions

View File

@ -11,7 +11,7 @@ import (
type decoderFunc func(reflect.Value, string) error
var (
// List of built-in decoders indexed by their numeric constant values (eg: reflect.Bool = 1)
// List of built-in decoders indexed by their numeric constant values (eg: reflect.Bool = 1).
decoders = []decoderFunc{
reflect.Bool: decodeBool,
reflect.Int: decodeInt,