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) CrawlerPatterncrawlerdetection.IsCrawler(string) bool
crawlerdetection.IsCrawler("Googlebot/2.1") = true