gitlab.com/evatix-go/core@v1.3.55/coredata/corestr/funcs.go (about) 1 package corestr 2 3 type ReturningBool struct { 4 IsBreak, IsKeep bool 5 } 6 7 type LinkedCollectionFilterResult struct { 8 Value *LinkedCollectionNode 9 IsKeep, IsBreak bool 10 } 11 12 type LinkedListFilterResult struct { 13 Value *LinkedListNode 14 IsKeep, IsBreak bool 15 } 16 17 type LinkedCollectionFilterParameter struct { 18 Node *LinkedCollectionNode 19 Index int 20 } 21 22 type LinkedListFilterParameter struct { 23 Node *LinkedListNode 24 Index int 25 } 26 27 type LinkedListProcessorParameter struct { 28 Index int 29 CurrentNode, PrevNode *LinkedListNode 30 IsFirstIndex, IsEndingIndex bool 31 } 32 33 type LinkedCollectionProcessorParameter struct { 34 Index int 35 CurrentNode, PrevNode *LinkedCollectionNode 36 IsFirstIndex, IsEndingIndex bool 37 } 38 39 type OnCompleteCharCollectionMap func(charCollection *CharCollectionMap) 40 type OnCompleteLinkedCollections func(linkedCollections *LinkedCollections) 41 type AnyToCollectionProcessor func(any interface{}, index int) *Collection 42 type OnCompleteCharHashsetMap func(charHashset *CharHashsetMap) 43 type IsStringFilter func(str string, index int) (result string, isKeep bool, isBreak bool) 44 type IsKeyAnyValueFilter func(pair KeyAnyValuePair) (result string, isKeep bool, isBreak bool) 45 type IsKeyValueFilter func(pair KeyValuePair) (result string, isKeep bool, isBreak bool) 46 type IsStringPointerFilter func(stringPointer *string, index int) (result *string, isKeep bool, isBreak bool) 47 type LinkedListFilter func(arg *LinkedListFilterParameter) *LinkedListFilterResult 48 type LinkedListSimpleProcessor func( 49 arg *LinkedListProcessorParameter, 50 ) (isBreak bool) 51 type LinkedCollectionFilter func( 52 arg *LinkedCollectionFilterParameter, 53 ) *LinkedCollectionFilterResult 54 type LinkedCollectionSimpleProcessor func( 55 arg *LinkedCollectionProcessorParameter, 56 ) (isBreak bool)