Skip to content

A port of lodash utility functions for Go language.

License

Notifications You must be signed in to change notification settings

iamtabrezkhan/godash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A port of lodash utility functions for Go language.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published