Package: golang-gitlab-lupine-go-mimedb-dev (1.33.0-1)
Links for golang-gitlab-lupine-go-mimedb-dev
Download Source Package golang-gitlab-lupine-go-mimedb:
- Homepage [gitlab.com]
Baked-in MIME types for standalone Go binaries
This Go package uses generators to convert this database into additions to the stdlib mime package. Since all the work is done at compile time, the MIME types end up embedded in the binary,loading them on startup is fast, and you still get sensible results when /etc/mime.types is unavailable on your platform!
This work is somewhat inspired by mime-ext-go, which lacks the automatic generation (and so easy update) to be found in this package.