func newRemoveOnCloseTempFile(prefix string) (*removeOnCloseFile, error) {
	file, err := ioutil.TempFile("", prefix)
	if err != nil {
		return nil, err
	}
	return &removeOnCloseFile{file}, nil
}
// newRemoveOnCloseTempFile creates a new temporary file in the default
// directory for temporary files with a name beginning with prefix.
// The resulting file is removed when the file is closed.
newRemoveOnCloseTempFile creates a new temporary file in the default
directory for temporary files with a name beginning with prefix.
The resulting file is removed when the file is closed.
// newRemoveOnCloseTempFile creates a new temporary file in the default // directory for temporary files with a name beginning with prefix . // The resulting file is removed when the file is closed .
func newRemoveOnCloseTempFile(prefix string) (*removeOnCloseFile, error) {
	file, err := ioutil.TempFile("", prefix)
	if err != nil {
		return nil, err
	}
	return &removeOnCloseFile{file}, nil
}
func newRemoveOnCloseTempFile ( prefix string ) ( * removeOnCloseFile , error ) { file , err := ioutil . TempFile ( " " , prefix ) if err != nil { return nil , err } return & removeOnCloseFile { file } , nil }
newRemoveOnCloseTempFile creates a new temporary file in the default
directory for temporary files with a name beginning with prefix.
newRemoveOnCloseTempFile creates a new temporary file in the default directory for temporary files with a name beginning with prefix .