github.com/ZRedShift/mimemagic (go): Powerful and versatile MIME sniffing package using pre-compiled glob patterns, magic number signatures, XML document namespaces, and tree magic for mounted volumes, generated from the XDG shared-mime-info database.
Keywords: detection|extension|filetype|freedesktop|go|golang|magic-numbers|mime|mime-database|mime-types|sniffing|xdg