go - Looking for list of binary file extensions -


i need quick estimate if file binary/text looking @ extension, errors acceptable.

example: images, audio, video considered binary (i.e. .jpg, .gif, .mp4, etc.).

are there more or less complete lists use purpose? checked https://golang.org/pkg/mime/#typebyextension not seem fit.

thanks!

from understand looking mime type list. there great resource here gives large list of each type , content.

it looks mime package perfect fit use case.


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -