Cleanup more lint warnings

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera
2020-06-02 18:38:41 +02:00
parent 5605aae269
commit 96ade5f2dd
6 changed files with 7 additions and 11 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ func KMapArr(in interface{}) interface{} {
return rout.Interface()
}
// KMapArr transforms map into slice of functions returning (key, val) pairs.
// KVMapArr transforms map into slice of functions returning (key, val) pairs.
// map[A]B => []func()(A, B)
func KVMapArr(in interface{}) interface{} {
rin := reflect.ValueOf(in)