Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 7.6% on proxy.golang.org

proxy.golang.org : github.com/kwilczynski/go-magic

Package magic implements See: http://www.darwinsys.com/file/ This example show the basic usage of the package: Open and initialize Magic library, set appropriate flags, for a given file find its MIME identification (as per the flag set), print the results and close releasing all initialized resources. This example shows how to use Open together with a closure. This example shows how to use the Separator to split results when the CONTINUE flag is set and more than one match was returned by the Magic library.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/kwilczynski/go-magic
Keywords: c, cgo, file-format, file-format-detection, go, golang, magic, mime, mime-types, recognition
License: Apache-2.0
Latest release: over 9 years ago
First release: over 9 years ago
Namespace: github.com/kwilczynski
Stars: 12 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 23 days ago

    Loading...
    Readme
    Loading...