Documentation ¶
Index ¶
- type SyncMap
- func (s *SyncMap[A]) Delete(key string)
- func (s *SyncMap[A]) Get(key string) (A, bool)
- func (s *SyncMap[A]) Keys() []string
- func (s *SyncMap[A]) MarshalJSON() ([]byte, error)
- func (s *SyncMap[A]) Put(key string, value A)
- func (s *SyncMap[A]) UnmarshalJSON(data []byte) error
- func (s *SyncMap[A]) Values() []A
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SyncMap ¶
type SyncMap[A any] struct { // contains filtered or unexported fields }
func (*SyncMap[A]) MarshalJSON ¶
func (*SyncMap[A]) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.