Lint: simplify code

This commit is contained in:
Dreamacro 2018-07-16 00:47:03 +08:00
parent 88c7ccf749
commit d55e1b664b

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