Tiny Go library to detect if a useragent is a bot, spider, crawler etc. Uses https://github.com/monperrus/crawler-user-agents for the data.
import github.com/samvaughton/crawlerdetection
crawlerdetection.GetCrawler(string) CrawlerPattern
crawlerdetection.IsCrawler(string) bool
crawlerdetection.IsCrawler("Googlebot/2.1")
= true