repositorypackage
1.0.0
Repository: https://github.com/wangliliwang/toolbox.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
toolbox - Iterate over slices, maps, channels...
⨠wangliliwang/toolbox
is a Lodash-style Go library based on Go 1.18+ Generics and is inspired by samber/lo and lodash.
š Install
go get github.com/wangliliwang/toolbox
š” Usage
You can import toolbox
using:
import (
"github.com/wangliliwang/toolbox"
)
Then use one of the helpers below:
ch := toolbox.SliceToChannel[string]([]string{"Samuel", "John", "Samuel"})