//
pkg.gl
Category
github.com/leaf-ai/go-service
pkg
mime
package
0.0.3
Repository:
https://github.com/leaf-ai/go-service.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
2
Files
48 SLOC
#
Functions
DetectFileType
DetectFileType can be used to examine the contexts of a file and return the most likely match for its contents as a mime type.
MimeFromExt
MimeFromExt is used to characterize a mime type from a files extension .