Description

IntMap is a helper that converts an array of strings (alternating key, value) into a map[string]int. The HGETALL commands return replies in this format. Requires an even number of values in result.

IntMap is referenced in 5 repositories

github.com/cosiner/kv

...