Skip to content

mwarnerdotme/go-mime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-mime

Usage

It's very simple! Include it as a dependency in your project and use any of the constants or functions in the mime package.

Example

package main

import (
    "fmt"

    "gitlab.com/mwarnerdotme/go-mime/mime"
)

func main() {
    fmt.Println(mime.APPLICATION_JSON)
    // "application/json"
}

About

Common MIME type and header constants for Go. Also known as content types in HTTP.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages