March 2019
Intermediate to advanced
336 pages
9h 9m
English
The IterateList method of the UnOrderedList class prints the node property of the nodes in the list. This is shown in the following code:
//IterateList method iterates over UnOrderedListfunc (UnOrderedList *UnOrderedList) IterateList() { var node *Node for node = UnOrderedList.headNode; node != nil; node = node.nextNode { fmt.Println(node.property) }}
Read now
Unlock full access