Documentation ¶
Index ¶
- type Error
- type Map
- func (x *Map[keyT, dataT]) Add(key keyT, value dataT)
- func (x *Map[keyT, dataT]) AddExistPanic(key keyT, value dataT)
- func (x *Map[keyT, dataT]) Clear()
- func (x *Map[keyT, dataT]) Copy() *Map[keyT, dataT]
- func (x *Map[keyT, dataT]) Data() map[keyT]dataT
- func (x *Map[keyT, dataT]) Get(key keyT) (dataT, bool)
- func (x *Map[keyT, dataT]) Len() int
- func (x *Map[keyT, dataT]) Remove(key keyT)
- type Slice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Map ¶
type Map[keyT comparable, dataT any] struct { // contains filtered or unexported fields }
func NewMap ¶
func NewMap[keyT comparable, dataT any]() *Map[keyT, dataT]
func (*Map[keyT, dataT]) AddExistPanic ¶
func (x *Map[keyT, dataT]) AddExistPanic(key keyT, value dataT)
Click to show internal directories.
Click to hide internal directories.