Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/h2non/filetype
/ types & classes
Types & classes
6 in github.com/h2non/filetype
⨍
Functions
144
◇
Types & classes
6
Struct
MIME
MIME stores the file MIME type values
types/mime.go:4
TypeAlias
Map
Type interface to store pairs of type with its matcher function
matchers/matchers.go:14
FuncType
Matcher
Matcher function interface as type alias
matchers/matchers.go:11
Struct
Type
Type represents a file MIME type and its extension
types/type.go:4
FuncType
TypeMatcher
Type specific matcher function interface
matchers/matchers.go:17
TypeAlias
docType
matchers/document.go:26