MCPcopy Index your code
hub / github.com/gopherdata/gophernotes / merge

Function merge

messages.go:247–258  ·  view source on GitHub ↗
(a MIMEMap, b MIMEMap)

Source from the content-addressed store, hash-verified

245}
246
247func merge(a MIMEMap, b MIMEMap) MIMEMap {
248 if len(b) == 0 {
249 return a
250 }
251 if a == nil {
252 a = make(MIMEMap)
253 }
254 for k, v := range b {
255 a[k] = v
256 }
257 return a
258}
259
260// PublishExecuteResult publishes the result of the `execCount` execution as a string.
261func (receipt *msgReceipt) PublishExecutionResult(execCount int, data Data) error {

Callers 1

display.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected