Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
go_generator
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
176bc81c
authored
Sep 01, 2021
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
up
parent
31bdf238
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
scaffold/generator/util.go
scaffold/generator/util.go
View file @
176bc81c
...
...
@@ -109,6 +109,10 @@ func CopyDir(srcPath string, destPath string) error {
destNewPath
=
destPath
+
copyFilename
//fmt.Println(destNewPath)
fmt
.
Println
(
"复制文件:"
+
path
+
" 到 "
+
destNewPath
)
if
IsFileExist
(
destNewPath
){
fmt
.
Printf
(
"文件%s已存在
\n
"
,
destNewPath
)
return
nil
}
_
,
_
=
copyFile
(
path
,
destNewPath
)
}
return
nil
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment