Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TypeAccumulator ¶
type TypeAccumulator interface{}
type TypeSlice ¶
type TypeSlice []Type
TypeSlice is a slice of Type that foo.
func (TypeSlice) GroupBy ¶
GroupBy returns a map of string keys to TypeSlice using the provided groupBy fn.
func (TypeSlice) Map ¶
Map calls the provided func for each element in t and returns a new TypeSlice.
func (TypeSlice) Reduce ¶
func (t TypeSlice) Reduce(accumulator func(TypeAccumulator, Type) TypeAccumulator, initial TypeAccumulator) TypeAccumulator
Click to show internal directories.
Click to hide internal directories.