We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e21d3f commit c06c9e3Copy full SHA for c06c9e3
common/browser.go
@@ -8,7 +8,7 @@ import (
8
var UserAgent = fmt.Sprintf("%s v%s", Name, Version)
9
10
func CleanUrlSpaces(dirtyStrings ...string) []string {
11
- result := []string{}
+ var result []string
12
for _, s := range dirtyStrings {
13
result = append(result, strings.ReplaceAll(s, " ", "-"))
14
}
0 commit comments