Doubly-linked list/Traversal: Difference between revisions

m
→‎{{header|Go}}: note library implementation
m (PL/I code moved to its correct alphabetical position.)
m (→‎{{header|Go}}: note library implementation)
Line 521:
=={{header|Go}}==
Code is identical to that for task Doubly-linked list/Element insertion except for addition of section at the end of main noted "traverse from end to beginning." Traversal from beginning to end is adequately demonstrated by the String method of dlList.
 
Also note that there is a doubly linked list in the Go standard library in package container/list.
<lang go>package main
 
1,707

edits