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