1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-22 14:49:42 +02:00
documize/vendor/github.com/mytrile/mime-ext/README.md
2016-07-07 18:54:16 -07:00

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