From bfaa63d5c125a4d538e22cbd0ec32679204d2c4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Sat, 21 May 2022 19:56:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=BF=94=E5=9B=9E=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dir.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dir.go b/dir.go index 5c00f2a..4950c8b 100644 --- a/dir.go +++ b/dir.go @@ -44,7 +44,7 @@ func (d *dir) RecursiveCreate() *dir { // Author : go_developer@163.com<白茶清欢> // // Date : 17:42 2022/5/21 -func (d *dir) Create(dirPath string) define.Result { +func (d *dir) Create(dirPath string) *define.Result { if !strings.HasPrefix(dirPath, "/") { dirPath = strings.ReplaceAll(d.workDir, "//", "/") }