Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectBuffer ¶
DetectBuffer returns the MIME type found from the provided byte slice.
The result is always a valid MIME type, with application/octet-stream returned when identification failed. Uses http.DetectContentType with a layer for SVG detection.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.