From c4172fba9b1c40a3328721da170bf64ecf4baf5b Mon Sep 17 00:00:00 2001 From: john Date: Wed, 24 Oct 2018 14:51:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84gfile=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- g/os/gfile/gfile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g/os/gfile/gfile.go b/g/os/gfile/gfile.go index 1def4c7de..6b99d9435 100644 --- a/g/os/gfile/gfile.go +++ b/g/os/gfile/gfile.go @@ -317,7 +317,7 @@ func Dir(path string) string { return filepath.Dir(path) } -// 获取指定文件路径的文件扩展名 +// 获取指定文件路径的文件扩展名(包含"."号) func Ext(path string) string { return filepath.Ext(path) }