diff options
Diffstat (limited to 'crawler')
-rw-r--r-- | crawler/crawler.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawler/crawler.go b/crawler/crawler.go index 66194cb..f8794d4 100644 --- a/crawler/crawler.go +++ b/crawler/crawler.go @@ -36,6 +36,7 @@ func Crawl() { for i := 0; i < len(feeds); i++ { vlog.Println(<-results) } + close(results) } func CrawlWorker(feeds <-chan *feed.Feed, results chan<- string) { |