Documentation
¶
Overview ¶
Package sdfiletype 通过内容判别文件类型
Index ¶
- func MatchExt(data []byte, def string) string
- func MatchFileExt(filename, def string) string
- func MatchFileMime(filename, def string) string
- func MatchMime(data []byte, def string) string
- func MatchReaderExt(r io.Reader, def string) string
- func MatchReaderMime(r io.Reader, def string) string
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchFileExt ¶
func MatchFileMime ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.