mihomo/config/utils.go
2018-07-26 00:04:59 +08:00

12 lines
157 B
Go

package config
import (
"strings"
)
func trimArr(arr []string) (r []string) {
for _, e := range arr {
r = append(r, strings.Trim(e, " "))
}
return
}