Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comparable ¶ added in v1.28.4
Comparable pattern
type Iteratable ¶
Object that can be iterated If iteration is terminated before the end, ctx MUST be cancelled to avoid goroutine/channel leak example ctx,cancel := context.WithCancel(context.Background()) defer cancel()
for i := range it.Iterator(ctx) { /* Loop can be safely terminated early */ }
type NamedObjectImpl ¶
type NamedObjectImpl string
func (NamedObjectImpl) Name ¶
func (n NamedObjectImpl) Name() string
Click to show internal directories.
Click to hide internal directories.