mirror of
https://github.com/documize/community.git
synced 2025-07-22 14:49:42 +02:00
12 lines
170 B
Go
12 lines
170 B
Go
package mimeext
|
|
|
|
import "mime"
|
|
|
|
func init() {
|
|
for key, value := range allMimeTypes {
|
|
err := mime.AddExtensionType(key, value)
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
}
|
|
}
|