Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Go bindings for libmagic
Go
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
testdata
CONTRIBUTORS
LICENSE
README.md
const.go
magic.go
magic_test.go

README.md

magic

This is a set of Go bindings for the C library libmagic.

To run the test code, we refer to the magic definition files in the testdata directory. You can substitute your own if you have some.

Usage

go get github.com/jteeuwen/magic

License

The uncompiled magic files included in this project have been supplied by Craig Heffner and his binwalk project and are provided under an MIT license.

The remaining work in this project is subject to a 1-clause BSD license. Its contents can be found in the enclosed LICENSE file.

Something went wrong with that request. Please try again.