(a MIMEMap, b MIMEMap)
| 245 | } |
| 246 | |
| 247 | func 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. |
| 261 | func (receipt *msgReceipt) PublishExecutionResult(execCount int, data Data) error { |