NewNode returns a pointer to a new Node.
()
| 68 | |
| 69 | // NewNode returns a pointer to a new Node. |
| 70 | func NewNode() *Node { |
| 71 | |
| 72 | n := new(Node) |
| 73 | n.Init(n) |
| 74 | return n |
| 75 | } |
| 76 | |
| 77 | // Init initializes the node. |
| 78 | // Normally called by other types which embed a Node. |