func mime.TypeByExtension

2 uses

	mime (current package)
		type.go#L111: func TypeByExtension(ext string) string {

	net/http
		fs.go#L237: 		ctype = mime.TypeByExtension(filepath.Ext(name))