go fmt some stuff.
This commit is contained in:
@@ -234,4 +234,3 @@ func mustHash(s string) [32]byte {
|
|||||||
copy(h[:], b)
|
copy(h[:], b)
|
||||||
return h
|
return h
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+34
-34
@@ -6,41 +6,41 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var commonMimeExtensions = map[string]string{
|
var commonMimeExtensions = map[string]string{
|
||||||
"application/json": ".json",
|
"application/json": ".json",
|
||||||
"application/pdf": ".pdf",
|
"application/pdf": ".pdf",
|
||||||
"application/vnd.android.package-archive": ".apk",
|
"application/vnd.android.package-archive": ".apk",
|
||||||
"application/vnd.sqlite3": ".sqlite3",
|
"application/vnd.sqlite3": ".sqlite3",
|
||||||
"application/xml": ".xml",
|
"application/xml": ".xml",
|
||||||
"audio/aac": ".aac",
|
"audio/aac": ".aac",
|
||||||
"audio/flac": ".flac",
|
"audio/flac": ".flac",
|
||||||
"audio/midi": ".midi",
|
"audio/midi": ".midi",
|
||||||
"audio/mp3": ".mp3",
|
"audio/mp3": ".mp3",
|
||||||
"audio/mpeg": ".mp3",
|
"audio/mpeg": ".mp3",
|
||||||
"audio/mp4": ".m4a",
|
"audio/mp4": ".m4a",
|
||||||
"audio/ogg": ".ogg",
|
"audio/ogg": ".ogg",
|
||||||
"audio/wav": ".wav",
|
"audio/wav": ".wav",
|
||||||
"audio/webm": ".weba",
|
"audio/webm": ".weba",
|
||||||
"audio/x-aiff": ".aiff",
|
"audio/x-aiff": ".aiff",
|
||||||
"audio/x-m4a": ".m4a",
|
"audio/x-m4a": ".m4a",
|
||||||
"image/avif": ".avif",
|
"image/avif": ".avif",
|
||||||
"image/gif": ".gif",
|
"image/gif": ".gif",
|
||||||
"image/jpeg": ".jpg",
|
"image/jpeg": ".jpg",
|
||||||
"image/png": ".png",
|
"image/png": ".png",
|
||||||
"image/svg+xml": ".svg",
|
"image/svg+xml": ".svg",
|
||||||
"image/webp": ".webp",
|
"image/webp": ".webp",
|
||||||
"text/css": ".css",
|
"text/css": ".css",
|
||||||
"text/csv": ".csv",
|
"text/csv": ".csv",
|
||||||
"text/html": ".html",
|
"text/html": ".html",
|
||||||
"text/javascript": ".js",
|
"text/javascript": ".js",
|
||||||
"text/markdown": ".md",
|
"text/markdown": ".md",
|
||||||
"text/plain": ".txt",
|
"text/plain": ".txt",
|
||||||
"text/xml": ".xml",
|
"text/xml": ".xml",
|
||||||
"video/mp2t": ".ts",
|
"video/mp2t": ".ts",
|
||||||
"video/mp4": ".mp4",
|
"video/mp4": ".mp4",
|
||||||
"video/ogg": ".ogv",
|
"video/ogg": ".ogv",
|
||||||
"video/quicktime": ".mov",
|
"video/quicktime": ".mov",
|
||||||
"video/webm": ".webm",
|
"video/webm": ".webm",
|
||||||
"video/x-matroska": ".mkv",
|
"video/x-matroska": ".mkv",
|
||||||
}
|
}
|
||||||
|
|
||||||
var commonExtensionMimes = map[string]string{
|
var commonExtensionMimes = map[string]string{
|
||||||
|
|||||||
Reference in New Issue
Block a user