Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 2.13 KB

README.md

File metadata and controls

55 lines (35 loc) · 2.13 KB

Godash - A port of lodash utility functions for Go language

Build Status Coverage Status Go Report Card

This library contains different packages for different collection types that you can import. For instance, to import functions related to slices you can do something like:

import "github.com/iamtabrezkhan/godash/slice"

Note: This library heavily relies on reflection, and it checks for types on runtime, so make sure you have good test suites. Although, for most of the known types we are avoiding the use of reflect and only using when there are unknown custom types.

Install

go get github.com/iamtabrezkhan/godash

Usage

// import functions related to slice
import "github.com/iamtabrezkhan/godash/slice"

slice.Chunk([]int{1, 2, 3, 4, 5}, 2) // ==> [[1, 2], [3, 4], [5]]

Packages

Author

👤 Tabrez Khan

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2020 Tabrez Khan.
This project is MIT licensed.