()
| 115 | } |
| 116 | |
| 117 | func (n *nodeCore) initCore() { |
| 118 | if n.params == nil { |
| 119 | n.params = make(map[string]any) |
| 120 | } |
| 121 | if n.successors == nil { |
| 122 | n.successors = make(map[string]BaseNode) |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | func (n *nodeCore) SetParams(params map[string]any) { |
| 127 | n.initCore() |
no outgoing calls
no test coverage detected