Resolve linter issues

This commit is contained in:
Ben Sarmiento
2023-12-06 20:49:01 +01:00
parent 743ac0e6d3
commit 6783011dcc
3 changed files with 0 additions and 29 deletions

View File

@@ -1,11 +0,0 @@
package http
func removeEmptySegments(urlSegments []string) []string {
var result []string
for _, s := range urlSegments {
if s != "" {
result = append(result, s)
}
}
return result
}