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, "//", "/") }