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]
|
return e.list.elems[e.prev]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//static linked list based array
|
||||||
type List struct {
|
type List struct {
|
||||||
elems []*Element
|
elems []*Element
|
||||||
|
|
Loading…
Reference in New Issue