filetype
Fast, dependency-free Go package to infer binary file types based on the magic numbers header signature
How to download and setup filetype
Open terminal and run command
git clone https://github.com/h2non/filetype.git
git clone is used to create a copy or clone of filetype 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 filetype https://github.com/h2non/filetype/archive/master.zip
Or simply clone filetype with SSH
[email protected]:h2non/filetype.git