处理文件 / 基本操作

import (
    "fmt"
    "os"
)

path := `tmp/1`
err := os.MkdirAll(path, os.ModePerm)
if err != nil {
    fmt.Println(err)
}