IoUtil.ReadDiros.FileInfoos.RemoveAll
package main

import (
    "io/IoUtil"
    "os"
    "path"
)

func main() {
    dir,err := IoUtil.ReadDir("/tmp")
    for _,d := range dir {
        os.RemoveAll(path.Join([]string{"tmp",d.Name()}...))
    }
}
/tmp