Browse Source

Refactor main.go

renovate/configure
Yota Toyama 8 years ago
parent
commit
3e17869ae2
  1. 3
      main.go

3
main.go

@ -30,8 +30,7 @@ func main() {
}() }()
rc := make(chan fileResult, maxOpenFiles) rc := make(chan fileResult, maxOpenFiles)
s := newSemaphore(args.concurrency) c := newFileChecker(args.timeout, args.documentRoot, newSemaphore(args.concurrency))
c := newFileChecker(args.timeout, args.documentRoot, s)
go c.CheckMany(m.Filenames(), rc) go c.CheckMany(m.Filenames(), rc)

Loading…
Cancel
Save