mirror of
https://github.com/bufanyun/hotgo.git
synced 2026-05-10 11:44:30 +08:00
发布v2.16.10版本,更新内容请查看:https://github.com/bufanyun/hotgo/blob/v2.0/docs/guide-zh-CN/start-update-log.md
This commit is contained in:
@@ -49,7 +49,7 @@ func Dao(ctx context.Context) (err error) {
|
||||
inp.ImportPrefix = utils.GetImportPath(inp.Path)
|
||||
inp.Path = tempPathPrefix + "/" + inp.Path
|
||||
|
||||
if err = gfile.Remove(inp.Path); err != nil {
|
||||
if err = gfile.RemoveAll(inp.Path); err != nil {
|
||||
err = gerror.Newf("清理临时生成目录失败:%v", err)
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user