mime

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 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 added in v1.14.1

func GetMimeForExtension(extension string) (string, error)

GetMimeForExtension lookup short code to string extensions

func GetMimeForFileName added in v1.14.1

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