Skip to content

Commit

Permalink
remove CloneStringMap
Browse files Browse the repository at this point in the history
  • Loading branch information
binaek authored and kaidaguerre committed Feb 13, 2024
1 parent 5dc6d79 commit 8319014
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions helpers/string_map.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,3 @@ func MergeStringMaps(a, b map[string]string) map[string]string {
}
return dst
}

// CloneStringMap :: clone a string map - return a copy of the map
func CloneStringMap(src map[string]string) map[string]string {
var dst = make(map[string]string)

for k, v := range src {
dst[k] = v
}
return dst
}

0 comments on commit 8319014

Please sign in to comment.