Documentation ¶
Overview ¶
Package with contains context managers for objects that require initialization before and clean-up after the execution such as files, locks, connections.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadLock ¶
func ReadLock(l ReadLocker, fn func() error) (err error)
Types ¶
type ReadLocker ¶
Click to show internal directories.
Click to hide internal directories.