mirror of
https://github.com/siddontang/go.git
synced 2025-04-27 13:48:51 +08:00
move to list
This commit is contained in:
parent
6fe6d67429
commit
14188b1515
@ -31,6 +31,7 @@ func (e *Element) Prev() *Element {
|
||||
return e.list.elems[e.prev]
|
||||
}
|
||||
|
||||
//static linked list based array
|
||||
type List struct {
|
||||
elems []*Element
|
||||
|
Loading…
x
Reference in New Issue
Block a user