MCPcopy Create free account
hub / github.com/devfeel/dotweb / NewItemMap

Function NewItemMap

core/concurrenceMap.go:44–49  ·  view source on GitHub ↗

NewItemMap create new ItemMap

()

Source from the content-addressed store, hash-verified

42
43// NewItemMap create new ItemMap
44func NewItemMap() *ItemMap {
45 return &ItemMap{
46 innerMap: make(map[string]interface{}),
47 RWMutex: new(sync.RWMutex),
48 }
49}
50
51// NewConcurrenceMap create new ConcurrenceMap
52func NewConcurrenceMap() ConcurrenceMap {

Callers 1

NewServerStateInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected