I want to run a geolocating service on Heroku, which doesn't have a durable filesystem, so I'd like to actually just fetch the maxmind database from the network at startup and read it into memory. To this end, it's useful to be able to initialize maxminddb (and geoip2) from a byte slice.
I wasn't able to get gocheck to install because of a bzr/Python installation issue, so I can't actually verify that the test runs, but I'm guessing it will.
I want to run a geolocating service on Heroku, which doesn't have a durable filesystem, so I'd like to actually just fetch the maxmind database from the network at startup and read it into memory. To this end, it's useful to be able to initialize maxminddb (and geoip2) from a byte slice.
I wasn't able to get gocheck to install because of a bzr/Python installation issue, so I can't actually verify that the test runs, but I'm guessing it will.