mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-01-04 00:23:43 +08:00
Lint: simplify code
This commit is contained in:
parent
a3698e5345
commit
29be6f94ba
@ -30,7 +30,7 @@ func (s *Selector) Now() string {
|
||||
|
||||
func (s *Selector) All() []string {
|
||||
var all []string
|
||||
for k, _ := range s.proxys {
|
||||
for k := range s.proxys {
|
||||
all = append(all, k)
|
||||
}
|
||||
return all
|
||||
|
Loading…
x
Reference in New Issue
Block a user