Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
In [1]:
import "io/ioutil"
In [3]:
tempFile, err := ioutil.TempFile("", "example")
tempFile
Out[3]:
In [6]:
tempFile.Name()
Out[6]:
In [7]:
ioutil.TempDir("", "test*")
Out[7]:
In [8]:
ioutil.TempDir("", "test")
Out[8]:
In [ ]: