完善gfile注释

This commit is contained in:
john
2018-10-24 14:51:32 +08:00
parent 96ab6830e6
commit f3a1a7152e

View File

@ -317,7 +317,7 @@ func Dir(path string) string {
return filepath.Dir(path)
}
// 获取指定文件路径的文件扩展名
// 获取指定文件路径的文件扩展名(包含"."号)
func Ext(path string) string {
return filepath.Ext(path)
}