Documentation
¶
Overview ¶
Package ext contains some extra code which does not fit into the categorization of the stdlib.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloserFunc ¶
type CloserFunc func()
CloserFunc makes any function a Closer.
func (CloserFunc) Close ¶
func (f CloserFunc) Close() (err error)
Close calls the underlying function and converts any panic to an error.
Click to show internal directories.
Click to hide internal directories.