package
5.30.0
Repository: https://github.com/go-playground/pkg.git
Documentation: pkg.go.dev

# Functions

NewMutex creates a new Mutex for use.
NewMutex2 creates a new Mutex for use.
NewRWMutex creates a new RWMutex for use.
NewRWMutex2 creates a new RWMutex for use.

# Structs

Mutex creates a type safe mutex wrapper ensuring one cannot access the values of a locked values without first gaining a lock.
Mutex2 creates a type safe mutex wrapper ensuring one cannot access the values of a locked values without first gaining a lock.
MutexGuard protects the inner contents of a Mutex2 for safety and unlocking.
RMutexGuard protects the inner contents of a RWMutex2 for safety and unlocking.
RWMutex creates a type safe RWMutex wrapper ensuring one cannot access the values of a locked values without first gaining a lock.
RWMutex2 creates a type safe RWMutex wrapper ensuring one cannot access the values of a locked values without first gaining a lock.