Godash - Lodash for Go Open Source
- 2019-11-01
- Ginkgoch
Godash is an open source library of lodash written with golang. A modern Golang utility library delivering modularity, performance & extras.
Install & Import
1 | go get -u "github.com/ginkgoch/godash" |
1 | import "github.com/ginkgoch/godash" |
Example
- Slice Example
1 | items := godash.DashSlice{"a", "b", "c", "d"} |
- Collection Example
1 | items := godash.DashSlice{1, 2, 3, 4, 5} |
- More examples TBD…
Index
This is a index of the complete API reference.
- func CamelCase
- func CamelCaseWithInit
- func Capitalize
- func CountBy
- func EndsWith
- func EndsWithFrom
- func Escape
- func EscapeRegExp
- func Every
- func Fill
- func FillInRange
- func Find
- func FindFrom
- func FindIndex
- func FindIndexWith
- func FindLast
- func FindLastFrom
- func FindLastIndex
- func FindLastIndexWith
- func First
- func FromPairs
- func GroupBy
- func Head
- func Identity
- func IdentityFloat
- func IdentityInt
- func IdentityString
- func Includes
- func IndexOf
- func Join
- func Last
- func LastIndexOf
- func LowerFirst
- func Nth
- func Pad
- func PadLeft
- func PadLeftWith
- func PadRight
- func PadRightWith
- func PadWith
- func Reduce
- func ReduceRight
- func ReduceRightWithInitial
- func ReduceWithInitial
- func Repeat
- func Replace
- func ReplaceRegx
- func Sample
- func Size
- func Some
- func Split
- func SplitWithCountLimit
- func StartsWith
- func StartsWithFrom
- func Ternary
- func ToLower
- func ToUpper
- func Trim
- func TrimEnd
- func TrimEndWith
- func TrimStart
- func TrimStartWith
- func TrimWith
- func Unescape
- func UpperFirst
- type Action
- type Comparison
- type DashSlice
- func Chunk
- func Compact
- func Concat
- func ConcatSlices
- func Difference
- func DifferenceBy
- func DifferenceWith
- func Drop
- func DropRight
- func DropWhile
- func Each
- func EachRight
- func Filter
- func FlatMap
- func FlatMapDeep
- func FlatMapDepth
- func Flatten
- func FlattenDeep
- func FlattenDepth
- func ForEach
- func ForEachRight
- func Initial
- func Intersection
- func IntersectionBy
- func IntersectionWith
- func Map
- func NewDashSlice
- func NewDashSliceFromIntArray
- func Pull
- func PullAll
- func PullAllWith
- func PullAt
- func Reject
- func Remove
- func Reverse
- func SampleSize
- func Shuffle
- func Slice
- func SortByFloat
- func SortByInt
- func SortByString
- func Tail
- func Take
- func TakeRight
- func TakeRightWhile
- func TakeWhile
- func Union
- func UnionBy
- func UnionWith
- func Uniq
- func UniqBy
- func UniqWith
- func Without
- func Xor
- func Zip
- func ZipWith
- func (DashSlice) Map
- type InitCamelCase
- type Iteratee
- type IterateeToFloat
- type IterateeToInt
- type IterateeToString
- type Predicate
- type Reducer