Lint: simplify code

This commit is contained in:
Dreamacro committed 2018-07-16 00:47:03 +08:00
1 parent 88c7ccf749
commit d55e1b664b
1 file changed
+1 -1
+1 -1
View File
@@ -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