[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#969539: ITP: golang-github-rakyll-magicmime -- Go bindings for libmagic to detect MIME types



Package: wnpp
Severity: wishlist
Owner: Jai Flack <jflack@disroot.org>

* Package name    : golang-github-rakyll-magicmime
  Version         : 0.1.0-1
  Upstream Author : Jaana Dogan <jbd@google.com>
* URL             : https://github.com/rakyll/magicmime
* License         : Apache-2.0
  Programming Lang: Go
  Description     : Go bindings for libmagic to detect MIME types

golang-github-rakyll-magicmime-dev is a Go package which allows you
to discover a file's mimetype by looking for magic numbers in its
content. It could be used as a supplementary for Go's mime
(http://golang.org/pkg/mime/) package which only interprets the file
extension to detect mimetypes. Internally, it implements libmagic(3)
(http://linux.die.net/man/3/libmagic) bindings.

I intend to maintain this under the umbrella of the Go packaging team


Reply to: