1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-04 12:52:28 +08:00

update MiMeType func comment

This commit is contained in:
dudaodong
2022-01-21 14:54:55 +08:00
parent 28317a1683
commit 3ca096b4ac

View File

@@ -262,7 +262,7 @@ func FileMode(path string) (fs.FileMode, error) {
}
// MiMeType return file mime type
// file should be string or *os.File
// param `file` should be string(file path) or *os.File
func MiMeType(file interface{}) string {
var mediatype string