You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|Nick Thomas e8af1d6598||5 years ago|
|cmd/generate||5 years ago|
|LICENSE||5 years ago|
|README.md||5 years ago|
|VERSION||5 years ago|
|generated_mime_types.go||5 years ago|
|mimedb.go||5 years ago|
|mimedb_test.go||5 years ago|
This Go package uses generators to convert this database
into additions to the stdlib
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
/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.
The version of the mime-db package used is tracked in the VERSION file, and updates will be given a corresponding tag.