Documentation ¶
Overview ¶
Package fs provides helper to work with the filesystem, e.g. temporary directories or files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TempFile ¶
type TempFile struct { // Path of the temporary file Path string }
func NewTempFile ¶
NewTempFile creates a new temporary file in a temporary directory. The provided content is written to the file. Make sure to always call Close once the file is not required anymore.
Click to show internal directories.
Click to hide internal directories.