Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChanEnumerable ¶
type ChanEnumerable <-chan interface{}
func (ChanEnumerable) Filter ¶
func (input ChanEnumerable) Filter(f func(interface{}) bool) Enumerable
func (ChanEnumerable) Fold ¶
func (input ChanEnumerable) Fold(initialValue interface{}, f func(interface{}, interface{}) interface{}) interface{}
func (ChanEnumerable) Map ¶
func (input ChanEnumerable) Map(f func(interface{}) interface{}) Enumerable
type Enumerable ¶
type Enumerable interface { Map(func(interface{}) interface{}) Enumerable Filter(func(interface{}) bool) Enumerable Fold(interface{}, func(interface{}, interface{}) interface{}) interface{} }
https://hub.fastgit.org/sergioifg94/go-higher-order-benchmarks/blob/master/pkg/enumerable/
type FileTree ¶
type FileTree struct { widget.Tree Filter storage.FileFilter Sorter func(fyne.URI, fyne.URI) bool // contains filtered or unexported fields }
FileTree extends widget.Tree to display a file system hierarchy.
func NewFileTree ¶
func NewFileTree(root fyne.URI) *FileTree
NewFileTree creates a new FileTree from the given root URI.
type SliceEnumerable ¶
type SliceEnumerable []interface{}
func (SliceEnumerable) Filter ¶
func (input SliceEnumerable) Filter(f func(interface{}) bool) Enumerable
func (SliceEnumerable) Fold ¶
func (input SliceEnumerable) Fold(initialValue interface{}, f func(interface{}, interface{}) interface{}) interface{}
func (SliceEnumerable) Map ¶
func (input SliceEnumerable) Map(f func(interface{}) interface{}) Enumerable
Click to show internal directories.
Click to hide internal directories.