/magic

A Golang package that validates the content of a byte array to a file type. It is a basic but very useful package, especially when you are accepting uploads from your users and you want to be sure the content is valid.

Primary LanguageGoMIT LicenseMIT

Stargazers