Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FooBarGenerics ¶
type FooBarGenerics[FooT any] struct { // contains filtered or unexported fields }
func NewFooBarGenerics ¶
func NewFooBarGenerics[FooT any]() *FooBarGenerics[FooT]
func NewFooBarGenericsWithOptions ¶
func NewFooBarGenericsWithOptions[FooT any]( opts ...FooBarGenericsOption[FooT], ) (*FooBarGenerics[FooT], error)
func (*FooBarGenerics[FooT]) Print ¶
func (fb *FooBarGenerics[FooT]) Print()
type FooBarGenericsOption ¶
type FooBarGenericsOption[FooT any] func(*FooBarGenerics[FooT])
func WithFoo ¶
func WithFoo[FooT any](foo FooT) FooBarGenericsOption[FooT]
Click to show internal directories.
Click to hide internal directories.