Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New creates a new temporary file in the specified directory the same way ioutils.TempFile does. If dir is an empty string, it'll be created in the OS' temp directory. The caller is responsible for removing the file. Drop-in replacement for ioutils.TempFile
func NewMode ¶
NewMode does the same as New() but allows the caller to provide a file mode to give the file permissions different from the default 0600.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.