mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 11:42: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…
Reference in New Issue
Block a user