Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeferClose ¶
DeferClose captures and prints the error from closing (if an error occurs). This is designed to be used in a defer statement.
func ReadErrorBody ¶
ReadErrorBody in the error case ready the body message. But return it as an error (or return an error from reading the body).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.