//遍历文件夹 dir, err := ioutil.ReadDir("./upload_tmp")
for _,file := range dir{ logs.Debug(file.Name(),file.Size()) }
转载于:https://www.cnblogs.com/dannyyao/p/8192769.html
//遍历文件夹 dir, err := ioutil.ReadDir("./upload_tmp")
for _,file := range dir{ logs.Debug(file.Name(),file.Size()) }
转载于:https://www.cnblogs.com/dannyyao/p/8192769.html