oschwald / maxminddb-golang

MaxMind DB Reader for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for creating reader from bytes buffer and fs.FS

floriangosse opened this issue · comments

It would be quite useful to have support for bytes buffer (bytes[]) and fs.FS as it allows to utilize a variety of options to load the database file. e.g. the embed API.

You can already use a byte slice via the FromBytes function.

I definitly overlooked that. That makes everything I wished possible. 😄