Documentation ¶
Index ¶
Constants ¶
View Source
const APPEND = "01235"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MRWMutex ¶
type MRWMutex struct {
// contains filtered or unexported fields
}
func NewMRWMutex ¶
func NewMRWMutex() *MRWMutex
type Once ¶
type Once struct {
// contains filtered or unexported fields
}
Once is an object that will perform exactly one action unless call Undo.
func (*Once) Do ¶
func (o *Once) Do(f func())
Do will do f only once no matter it's successful or not if f is blocked, Do will also be
Click to show internal directories.
Click to hide internal directories.