vendor: update all dependencies to latest versions
This commit is contained in:
1 parent
8e83fb6fb9
commit
7d3a17725d
4878 files changed
+1974213
-201199
No files matched your search
+10
@@ -0,0 +1,10 @@
|
||||
package convert
|
||||
|
||||
// StringSliceWithConverter converts a list of string using the passed converter function
|
||||
func StringSliceWithConverter(s []string, c func(string) string) []string {
|
||||
out := []string{}
|
||||
for _, i := range s {
|
||||
out = append(out, c(i))
|
||||
}
|
||||
return out
|
||||
}
|
||||
Reference in new issue
Block a user