mime

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMimeForExtension

func GetMimeForExtension(extension string) (string, error)

GetMimeForExtension lookup short code to string extensions

func GetMimeForFileName

func GetMimeForFileName(filename string) (string, error)

GetMimeForFileName 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