mimetype
A fast Golang library for media type and file extension detection, based on magic numbers
How to download and setup mimetype
Open terminal and run command
git clone https://github.com/gabriel-vasile/mimetype.git
git clone is used to create a copy or clone of mimetype repositories.
You pass git clone a repository URL. it supports a few different network protocols and corresponding URL formats.
Also you may download zip file with mimetype https://github.com/gabriel-vasile/mimetype/archive/master.zip
Or simply clone mimetype with SSH
[email protected]:gabriel-vasile/mimetype.git