package
1.0.150
Repository: https://github.com/ibm/fp-go.git
Documentation: pkg.go.dev

# Functions

Close closes an object.
Mkdir create a directory, see [os.Mkdir].
MkdirAll create a sequence of directories, see [os.MkdirAll].
ReadAll uses a generator function to create a stream, reads it and closes it.
Remove removes a file by name.
WithTempFile creates a temporary file, then invokes a callback to create a resource based on the file, then close and remove the temp file.
Write uses a generator function to create a stream, writes data to it and closes it.
WriteAll uses a generator function to create a stream, writes data to it and closes it.
WriteFile writes a data blob to a file.

# Variables

Create opens a file for writing.
CreateTemp created a temp file with proper parametrization.
Open opens a file for reading.
ReadFile reads the context of a file.