mime

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForExtension

func ForExtension(extension string) (string, error)

ForExtension lookup short code to string extensions

func ForFileName

func ForFileName(filename string) (string, error)

ForFileName utility mimetype lokup

func IsAllPrintableChar

func IsAllPrintableChar(bytes []byte) bool

IsAllPrintableChar checks for the printable chars

func IsPrintableChar

func IsPrintableChar(char byte) bool

IsPrintableChar checks if a type is printable

Types

This section is empty.

Jump to

Keyboard shortcuts

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