(arg []interface{})
| 41 | } |
| 42 | |
| 43 | func OddKey(arg []interface{}) []uint8 { |
| 44 | index := make([]uint8, (len(arg)-1)/2) |
| 45 | var val int |
| 46 | for k := range index { |
| 47 | val = k |
| 48 | index[k] = uint8(1 + val<<1) |
| 49 | } |
| 50 | return index |
| 51 | } |
| 52 | |
| 53 | var cmdKeyMap = map[string]makeKeyFunc{ |
| 54 | "MGET": allKey, |
nothing calls this directly
no outgoing calls
no test coverage detected