mirror of
https://github.com/documize/community.git
synced 2025-07-22 14:49:42 +02:00
530 B
530 B
mime-ext
This is a library that adds a huge number of mime types for using with mime.TypeByExtension()
Usage
package main
import (
"mime"
_ "github.com/mytrile/mime-ex"
)
func main() {
gz_type := mime.TypeByExtension(".gz") //=> "application/gzip"
}
Meta
- Author : Dimitar Kostov
- Email : mitko.kostov@gmail.com
- Website : http://mytrile.github.com
- Twitter : http://twitter.com/mytrile