Update examples/directories/directories.go
Co-Authored-By: Mark McGranaghan <mmcgrana@gmail.com>
This commit is contained in:
parent
447d77234f
commit
ee8c401ac3
@ -37,7 +37,7 @@ func main() {
|
||||
createEmptyFile("subdir/file1")
|
||||
|
||||
// We can create a hierarchy of directories, including
|
||||
// parents wiht `MkdirAll`. This is similar to the
|
||||
// parents with `MkdirAll`. This is similar to the
|
||||
// command-line `mkdir -p`.
|
||||
err = os.MkdirAll("subdir/parent/child", 0755)
|
||||
check(err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user