Documentation
¶
Overview ¶
fatal, LitFill <marrazzy54 at email dot com> library for fatal assignment or logging (error management)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Assign ¶
Assign takes the return values of functions that return (val T, err error) and returns a function that takes msg and logs in style of slog.logger and return the val T.
file := Assign(os.Create(fileName))(
"cannot create file",
"filename", fileName,
)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.