func Root(t *testing.T, callback func(dir string)) {
	tmpDir, err := ioutil.TempDir("", "")
	if err != nil {
		t.Fatal(err)
	}
	defer func() {
		if err := os.RemoveAll(tmpDir); err != nil {
			t.Fatal(err)
		}
	}()

	callback(tmpDir)
}
func Root(t *testing.T, callback func(dir string)) {
	tmpDir, err := ioutil.TempDir("", "")
	if err != nil {
		t.Fatal(err)
	}
	defer func() {
		if err := os.RemoveAll(tmpDir); err != nil {
			t.Fatal(err)
		}
	}()

	callback(tmpDir)
}
func Root ( t * testing . T , callback func ( dir string ) ) { tmpDir , err := ioutil . TempDir ( " " , " " ) if err != nil { t . Fatal ( err ) } defer func ( ) { if err := os . RemoveAll ( tmpDir ) ; err != nil { t . Fatal ( err ) } } ( ) callback ( tmpDir ) }
// Root creates new test directory
Root creates new test directory