Documentation ¶
Index ¶
- func Construct[O Object, FO Option[O] | OptionFunc[O]](obj O, opts ...FO) (O, error)
- func ConstructWithContext[O Object, FO OptionWithContext[O] | OptionFuncWithContext[O]](ctx context.Context, obj O, opts ...FO) (O, error)
- func MustConstruct[O Object, FO Option[O] | OptionFunc[O]](obj O, opts ...FO) O
- func MustNew[O Object, FO Option[O] | OptionFunc[O]](opts ...FO) O
- func New[O Object, FO Option[O] | OptionFunc[O]](opts ...FO) (O, error)
- func NewWithContext[O Object, FO OptionWithContext[O] | OptionFuncWithContext[O]](ctx context.Context, opts ...FO) (O, error)
- type Object
- type Option
- type OptionFunc
- type OptionFuncWithContext
- type OptionWithContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConstructWithContext ¶
func MustConstruct ¶
Types ¶
type OptionFunc ¶
type OptionFuncWithContext ¶
Click to show internal directories.
Click to hide internal directories.