Comments (1)
it uses interface{}
since generics will be available from 1.18.
You can cast the result at runtime or use typesafe functions.
from go-funk.
Related Issues (20)
- .Contains() but with a regexp match
- About the problem of short_if.go file in CRLF format HOT 2
- IsEmpty check error HOT 1
- about map merge HOT 1
- About GetOrElse HOT 1
- how about adding argMax which return the index of max element from a slice ?
- Accept comparison function to contains/difference/etc.
- Generics coming into Go 1.18 HOT 2
- 同学,您这个项目引入了6个开源组件,存在1个漏洞,辛苦升级一下 HOT 1
- Use generics from go 1.18 HOT 21
- Q: Is there any utility for merge HOT 3
- .Partition() - same interface as filter but returns two arrays
- WithAllowZero doesn't work on slice of structs with inner struct
- reflect: call of reflect.Value.Set on zero Value HOT 1
- [feature request] funk.Get map value with non-trivial key
- About WithAllowZero?
- `funk.Get` panics when indirectly accessing fields of `nil` embedded structs
- Does Find() work on a map? HOT 1
- Does not work.Uniq for uuid HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-funk.