Registry / utility / cubewise-code-go-mime

cubewise-code-go-mime

JSON →
library0.0.0-20200519001935-8c5762b177d8gogounverified

Go-mime is a Go library for MIME type detection and handling.

go get github.com/cubewise-code/go-mime
INSTALL
IMPORT
SIG · CUBEWISE-CODE-GO-M
C
cubewise-code-go-mime
utilitygov0.0.0-20200519001935-8c5762b177d8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

mime
github.com/cubewise-code/go-mime

Get MIME type by file extension

package main import ( "fmt" "github.com/cubewise-code/go-mime" ) func main() { mimeType := mime.TypeByExtension(".html") fmt.Println(mimeType) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20200519001935-8c5762b177d8latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
cubewise-code-go-mime — go get cubewise-code-go-mime · libregistry