mimetype

package module
v0.0.0-...-bd84843 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2018 License: MIT Imports: 1 Imported by: 1

README

go-mimetype

add mime types into standard library "mime"

How to Use

  1. import the package
import (
    _ "github.com/imroc/go-mimetype"
    "mime"
)
  1. use the standard library
typ := mime.TypeByExtension(".xml")

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL