Minor style changes

master
Dusan Kasan 7 years ago
parent 6a67505471
commit 8d9a00825b

@ -31,7 +31,7 @@ type rbTree struct {
hashFunc func(interface{}) int64
}
// Create new hash map with supplied hashing function
// New creates a new hash map with supplied hashing function
func New(hashFunc func(i interface{}) int64) *rbTree {
return &rbTree{hashFunc: hashFunc}
}

@ -105,7 +105,7 @@ func generateInputPool(size int) map[int64]int64 {
func getShuffledKeys(input map[int64]int64) []int64 {
keys := []int64{}
for key, _ := range input {
for key := range input {
keys = append(keys, key)
}

Loading…
Cancel
Save