fix
This commit is contained in:
parent
3a521d23d5
commit
a50e1386dd
|
@ -31,5 +31,3 @@ _testmain.go
|
||||||
/bin
|
/bin
|
||||||
cover.out
|
cover.out
|
||||||
cover.html
|
cover.html
|
||||||
|
|
||||||
go.sum
|
|
|
@ -29,7 +29,6 @@ func CreateDir(dirs ...string) (err error) {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if !exist {
|
if !exist {
|
||||||
fmt.Println("create directory" + v)
|
|
||||||
err = os.MkdirAll(v, os.ModePerm)
|
err = os.MkdirAll(v, os.ModePerm)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("create directory: %v", v)
|
return fmt.Errorf("create directory: %v", v)
|
||||||
|
|
Loading…
Reference in New Issue