mihomo/config/utils.go

13 lines
157 B
Go
Raw Normal View History

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