Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Once ¶
type Once struct {
// contains filtered or unexported fields
}
Once is an object that will perform exactly one action until Reset is called. See http://golang.org/pkg/sync/#Once
func (*Once) Do ¶
func (o *Once) Do(f func())
Do simulates sync.Once.Do by executing the specified function only once, until Reset is called. See http://golang.org/pkg/sync/#Once
Click to show internal directories.
Click to hide internal directories.