Versions in this module Expand all Collapse all v1 v1.0.1 Dec 5, 2020 Changes in this version + type Error struct + func (o *Error) Do(f func() error) error + type Value struct + func (o *Value) Do(f func() interface{}) interface{} + type ValueError struct + func (o *ValueError) Do(f func() (interface{}, error)) (interface{}, error) v1.0.0 Dec 5, 2020 Changes in this version + type Once struct + func (o *Once) Do(f func()) + type OnceError struct + func (o *OnceError) Do(f func() error) error + type OnceValue struct + func (o *OnceValue) Do(f func() interface{}) interface{} + type OnceValueError struct + func (o *OnceValueError) Do(f func() (interface{}, error)) (interface{}, error)