Documentation ¶ Index ¶ type List func NewList(slice interface{}) *List func (r *List) Contains(o interface{}) (ok bool) func (r *List) Find(o interface{}) (int, bool) func (r *List) FindBy(accept func(i int) bool) (j int, ok bool) func (r *List) ForEach(accept func(i int)) func (r *List) ForEachWithStop(accept func(i int) bool) func (r *List) Len() int Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type List ¶ type List struct { // contains filtered or unexported fields } func NewList ¶ func NewList(slice interface{}) *List func (*List) Contains ¶ added in v1.1.4 func (r *List) Contains(o interface{}) (ok bool) func (*List) Find ¶ func (r *List) Find(o interface{}) (int, bool) func (*List) FindBy ¶ added in v1.2.5 func (r *List) FindBy(accept func(i int) bool) (j int, ok bool) func (*List) ForEach ¶ func (r *List) ForEach(accept func(i int)) func (*List) ForEachWithStop ¶ added in v1.2.5 func (r *List) ForEachWithStop(accept func(i int) bool) func (*List) Len ¶ added in v1.2.5 func (r *List) Len() int Source Files ¶ View all Source files list.go Click to show internal directories. Click to hide internal directories.