📚 just - Awesome Go Library for Utilities

Just a collection of useful functions for working with generic data structures
🏷️ Utilities
📂 Utilities
⭐ 0 stars
Detailed Description of just
just
This project contains features that help make the noisy stuff in every project.
- Filter slices, maps.
- Applying functions to collections.
- Null[any] for optional fields in API and sql.DB queries.
Most helpful functions
SliceIterallows you to iterate over slice with specialIterContextthat provide some methods likeIsFirst,IsLastSliceMapandSliceMapErrallow you to map a slice to another one. Useful for adapters.NewPoolsync.Poolwith genericsChanAdaptallows to create an adapted version of channelContextWithTimeoutruns a function with context and timeoutErrAshelps to handle an errorsSliceChunkiterates over chunksSliceChainjoins slices to oneStrSplitByCharssplits the string by symbols
Examples
This library contains a bunch of functions. Please see pkg.go.dev for examples.