New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No equivalent of mime.ExtensionsByType #62
Comments
kmanley
pushed a commit
to kmanley/filetype
that referenced
this issue
Feb 21, 2019
I agree with that, it should be a equivalent for |
Agree, I need it too. |
mimetype has this functionality: https://pkg.go.dev/github.com/gabriel-vasile/mimetype?tab=doc#MIME.Extension |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to replace my use of mime.ExtensionsByType with filetype because filetype understands more types (e.g. HEIF). However there's not currently a function in filetype that returns a Type by MIME. I'll send a PR.
The text was updated successfully, but these errors were encountered: