modulepackage
0.0.0-20200108121234-06db9c085cde
Repository: https://github.com/teamwork/tmpdir.git
Documentation: pkg.go.dev
# Functions
Cleanup removes the tmp directory.
MkTemp creates a unique filename in the temporary directory and returns a writable file descriptor.
MkTempFile behaves like MkTemp, but returns the path to a file (which is created) instead of a file descriptor.
Setup creates an unique temporary directory.
# Variables
Dir is the temporary directory that Setup() created.