Documentation
¶
Overview ¶
Package mime provides MIME type detection based on file extensions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContentType ¶
ContentType returns the MIME type for a given filename based on its extension.
If the extension is unknown, it returns "application/octet-stream".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.