From 73c6a1309f559d36ce538009d182f5617315b62a Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 27 Mar 2018 18:26:58 +0900 Subject: [PATCH] ing --- crawler/crawler.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/crawler/crawler.go b/crawler/crawler.go index c10670b..688b3e3 100644 --- a/crawler/crawler.go +++ b/crawler/crawler.go @@ -63,14 +63,6 @@ func addCrawler(c oopcc.Crawler) { crawlers[c.Name()] = c } -func GetCrawler(name string) oopcc.Crawler { - c, ok := crawlers[name] - if !ok { - return nil - } - return c -} - func GetCrawlers() map[string]oopcc.Crawler { return crawlers }