move to list

This commit is contained in:
siddontang 2014-04-16 16:20:14 +08:00
parent 6fe6d67429
commit 14188b1515
2 changed files with 1 additions and 0 deletions

View File

@ -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