Documentation ¶
Index ¶
- type ReadOnlyMap
- func (sm *ReadOnlyMap) Append(l map[string]any) *ReadOnlyMap
- func (sm *ReadOnlyMap) Existed(p *ReadOnlyMap) bool
- func (sm *ReadOnlyMap) Flat() map[string]any
- func (sm *ReadOnlyMap) ForEachKey(h func(m any, key string) error)
- func (sm *ReadOnlyMap) GetRoot() *ReadOnlyMap
- func (sm *ReadOnlyMap) Load(key string) (value any, ok bool)
- func (sm *ReadOnlyMap) SetPred(p *ReadOnlyMap) *ReadOnlyMap
- func (sm *ReadOnlyMap) Store(key string, value any)
- func (sm *ReadOnlyMap) Unlink(p *ReadOnlyMap)
- type SafeMap
- func (sm *SafeMap) Append(l map[string]any) *SafeMap
- func (sm *SafeMap) Existed(p *ReadOnlyMap) bool
- func (sm *SafeMap) Flat() map[string]any
- func (sm *SafeMap) ForEachKey(h func(m any, key string) error)
- func (sm *SafeMap) GetRoot() *ReadOnlyMap
- func (sm *SafeMap) Load(key string) (value any, ok bool)
- func (sm *SafeMap) SetPred(p *ReadOnlyMap) *SafeMap
- func (sm *SafeMap) Store(key string, value any)
- func (sm *SafeMap) Unlink()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReadOnlyMap ¶
type ReadOnlyMap struct {
// contains filtered or unexported fields
}
func NewReadOnlyMap ¶
func NewReadOnlyMap(a map[string]any) *ReadOnlyMap
func (*ReadOnlyMap) Append ¶
func (sm *ReadOnlyMap) Append(l map[string]any) *ReadOnlyMap
func (*ReadOnlyMap) Existed ¶
func (sm *ReadOnlyMap) Existed(p *ReadOnlyMap) bool
func (*ReadOnlyMap) Flat ¶
func (sm *ReadOnlyMap) Flat() map[string]any
func (*ReadOnlyMap) ForEachKey ¶
func (sm *ReadOnlyMap) ForEachKey(h func(m any, key string) error)
func (*ReadOnlyMap) GetRoot ¶
func (sm *ReadOnlyMap) GetRoot() *ReadOnlyMap
func (*ReadOnlyMap) SetPred ¶
func (sm *ReadOnlyMap) SetPred(p *ReadOnlyMap) *ReadOnlyMap
func (*ReadOnlyMap) Store ¶
func (sm *ReadOnlyMap) Store(key string, value any)
func (*ReadOnlyMap) Unlink ¶
func (sm *ReadOnlyMap) Unlink(p *ReadOnlyMap)
type SafeMap ¶
type SafeMap struct {
// contains filtered or unexported fields
}
func NewSafeMap ¶
func (*SafeMap) Existed ¶
func (sm *SafeMap) Existed(p *ReadOnlyMap) bool
func (*SafeMap) GetRoot ¶
func (sm *SafeMap) GetRoot() *ReadOnlyMap
func (*SafeMap) SetPred ¶
func (sm *SafeMap) SetPred(p *ReadOnlyMap) *SafeMap
Click to show internal directories.
Click to hide internal directories.