aboutsummaryrefslogtreecommitdiff
path: root/crawler.go
diff options
context:
space:
mode:
authorale <ale@incal.net>2015-07-03 19:38:17 +0100
committerale <ale@incal.net>2015-07-03 19:38:17 +0100
commit4fc0b1d2b5f9143a3067ef31f3558774a3c6d68f (patch)
treeb7d4a4c4b8ed36ca08e28c8876e1951f2e38aa38 /crawler.go
parentb06e5a296b16d0080afd36470b0ba59c7b8a5bc2 (diff)
downloadcrawl-4fc0b1d2b5f9143a3067ef31f3558774a3c6d68f.tar.gz
crawl-4fc0b1d2b5f9143a3067ef31f3558774a3c6d68f.zip
minor golint fixes
Diffstat (limited to 'crawler.go')
-rw-r--r--crawler.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawler.go b/crawler.go
index d162330..f2a8968 100644
--- a/crawler.go
+++ b/crawler.go
@@ -319,6 +319,7 @@ func (c *Crawler) Run(concurrency int) {
wg.Wait()
}
+// Close the database and release resources associated with the crawler state.
func (c *Crawler) Close() {
c.db.Close()
}