clash/tunnel/utils.go

13 lines
157 B
Go
Raw Normal View History

2018-06-10 22:50:03 +08:00
package tunnel
import (
"strings"
)
func trimArr(arr []string) (r []string) {
for _, e := range arr {
r = append(r, strings.Trim(e, " "))
}
return
}