@sajal This is my first attempt at coding for MongoDB, please check if I'm not accessing it in wrong ways.
I also made several new tests for testing the asn description override feature.
After this pull request is merged, I'll update cnc.go to make use of this feature (ie create a geoipdb Handler with the overrides collection). Unfortunately, as there is now a new parameter in NewHandler(), current cnc code will likely break temporarily.
@sajal This is my first attempt at coding for MongoDB, please check if I'm not accessing it in wrong ways.
I also made several new tests for testing the asn description override feature.
After this pull request is merged, I'll update cnc.go to make use of this feature (ie create a geoipdb Handler with the overrides collection). Unfortunately, as there is now a new parameter in NewHandler(), current cnc code will likely break temporarily.
Fixes #13