Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContentType ¶
func GetContentType(file io.ReadSeeker) (string, error)
func GetContentType2 ¶
GetContentType2 从file中读出最多512字节用于确定类型 并所回一个新的reader供后续使用
func GetFileExtension ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.