MCPcopy Create free account
hub / github.com/Monibuca/engine / Set

Method Set

util/map.go:17–19  ·  view source on GitHub ↗
(k K, v V)

Source from the content-addressed store, hash-verified

15}
16
17func (m *Map[K, V]) Set(k K, v V) {
18 m.Store(k, v)
19}
20
21func (m *Map[K, V]) Has(k K) (ok bool) {
22 _, ok = m.Load(k)

Callers 15

ReportMethod · 0.80
RunFunction · 0.80
MarshalMethod · 0.80
ReturnFetchListFunction · 0.80
ReturnFetchValueFunction · 0.80
CORSFunction · 0.80
BasicAuthFunction · 0.80
NewSSEFunction · 0.80
ReceiveRequestMethod · 0.80
ParseMethod · 0.80
ParseGlobalMethod · 0.80
ParseDefaultYamlMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected