Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TypeImplements ¶ added in v1.25.6
TypeImplements reports whether t implements the interface type iface. It is equivalent to t.Implements(iface) but caches the result per type pair.
Types ¶
type SequencedMapInterface ¶ added in v1.0.0
type SequencedMapInterface interface {
Init()
IsInitialized() bool
SetUntyped(key, value any) error
AllUntyped() iter.Seq2[any, any]
GetKeyType() reflect.Type
GetValueType() reflect.Type
Len() int
GetAny(key any) (any, bool)
SetAny(key, value any)
DeleteAny(key any)
KeysAny() iter.Seq[any]
}
sequencedMapInterface defines the interface that sequenced maps must implement
Click to show internal directories.
Click to hide internal directories.