Skip to content

Latest commit

 

History

History
130 lines (128 loc) · 2.12 KB

TODO.md

File metadata and controls

130 lines (128 loc) · 2.12 KB

TODO

The list bellow is based on methods available on https://laravel.com/docs/9.x/collections#available-methods Not all methods will make sense on Go and won't be implemented.

  • all (ToSlice)
  • average
  • avg (Average)
  • chunk
  • chunkWhile
  • collapse
  • collect (Collect, CollectMap)
  • combine
  • concat
  • contains
  • containsStrict
  • count
  • countBy
  • crossJoin
  • diff
  • diffAssoc (only map)
  • diffKeys (only map)
  • doesntContain
  • duplicates
  • duplicatesStrict
  • each
  • every
  • except
  • filter
  • first
  • firstOrFail
  • firstWhere
  • flatMap
  • flatten
  • flip
  • forget
  • forPage
  • get
  • groupBy
  • implode
  • intersect
  • intersectByKeys (only map)
  • isEmpty
  • isNotEmpty
  • join
  • keyBy
  • keys
  • last (Last, LastE, LastBy, LastByE)
  • lazy
  • map
  • mapInto
  • mapSpread
  • mapToGroups
  • mapWithKeys
  • max
  • median
  • merge
  • min
  • mode
  • nth
  • only
  • pad
  • partition
  • pipe
  • pipeInto
  • pipeThrough
  • pluck
  • pop
  • prepend
  • pull
  • push
  • put
  • random
  • range
  • reduce
  • reduceSpread
  • reject
  • replace
  • reverse
  • search (by value)
  • shift
  • shuffle
  • skip
  • skipUntil
  • skipWhile
  • sliding (Sliding, SlidingStep)
  • sole
  • sort
  • sortBy
  • sortByDesc
  • sortDesc
  • sortKeys
  • sortKeysDesc
  • sortKeysUsing
  • splice (Splice, SpliceN)
  • split
  • splitIn
  • sum (Sum, SumBy)
  • take
  • takeUntil
  • takeWhile
  • tap
  • times
  • toArray (ToSlice)
  • toJson
  • transform
  • union
  • unique (Unique, UniqueBy)
  • uniqueStrict
  • unless
  • unlessEmpty
  • unlessNotEmpty
  • unwrap
  • values (ToSlice)
  • when
  • whenEmpty
  • whenNotEmpty
  • where
  • whereStrict
  • whereBetween
  • whereIn
  • whereInStrict
  • whereInstanceOf
  • whereNotBetween
  • whereNotIn
  • whereNotInStrict
  • whereNotNull
  • whereNull
  • wrap
  • zip