Skip to content

Commit

Permalink
remove Printfs
Browse files Browse the repository at this point in the history
  • Loading branch information
ejoffe committed Feb 28, 2020
1 parent 59d6da0 commit 48da8d4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,11 +341,9 @@ func eachHelper(context interface{}, options *Options) interface{} {
}
case reflect.Map:
keys := val.MapKeys()
fmt.Println(keys)
sort.SliceStable(keys, func(i, j int) bool {
iv := keys[i].Interface()
jv := keys[j].Interface()
fmt.Printf("iv:%T:%v jv:%T:%v\n", iv, iv, jv, jv)
switch iv.(type) {
case int:
return iv.(int) < jv.(int)
Expand Down

0 comments on commit 48da8d4

Please sign in to comment.