Versions in this module Expand all Collapse all v1 v1.1.0 Jun 13, 2024 Changes in this version + type Element = list.Element + type List struct + func New(safe ...bool) *List + func NewFrom(array []interface{}, safe ...bool) *List + func (l *List) Back() (e *Element) + func (l *List) BackAll() (values []interface{}) + func (l *List) BackValue() (value interface{}) + func (l *List) Clear() + func (l *List) DeepCopy() interface{} + func (l *List) Front() (e *Element) + func (l *List) FrontAll() (values []interface{}) + func (l *List) FrontValue() (value interface{}) + func (l *List) InsertAfter(p *Element, v interface{}) (e *Element) + func (l *List) InsertBefore(p *Element, v interface{}) (e *Element) + func (l *List) Iterator(f func(e *Element) bool) + func (l *List) IteratorAsc(f func(e *Element) bool) + func (l *List) IteratorDesc(f func(e *Element) bool) + func (l *List) Join(glue string) string + func (l *List) Len() (length int) + func (l *List) LockFunc(f func(list *list.List)) + func (l *List) MoveAfter(e, p *Element) + func (l *List) MoveBefore(e, p *Element) + func (l *List) MoveToBack(e *Element) + func (l *List) MoveToFront(e *Element) + func (l *List) PopBack() (value interface{}) + func (l *List) PopBackAll() []interface{} + func (l *List) PopBacks(max int) (values []interface{}) + func (l *List) PopFront() (value interface{}) + func (l *List) PopFrontAll() []interface{} + func (l *List) PopFronts(max int) (values []interface{}) + func (l *List) PushBack(v interface{}) (e *Element) + func (l *List) PushBackList(other *List) + func (l *List) PushBacks(values []interface{}) + func (l *List) PushFront(v interface{}) (e *Element) + func (l *List) PushFrontList(other *List) + func (l *List) PushFronts(values []interface{}) + func (l *List) RLockFunc(f func(list *list.List)) + func (l *List) Remove(e *Element) (value interface{}) + func (l *List) RemoveAll() + func (l *List) Removes(es []*Element) + func (l *List) Size() int + func (l *List) String() string + func (l *List) UnmarshalJSON(b []byte) error + func (l *List) UnmarshalValue(value interface{}) (err error) + func (l List) MarshalJSON() ([]byte, error)