Update examples/directories/directories.go

Co-Authored-By: Mark McGranaghan <mmcgrana@gmail.com>
This commit is contained in:
Eli Bendersky 2019-06-08 11:11:58 -07:00 committed by GitHub
parent 447d77234f
commit ee8c401ac3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)