-
FuncFrog
Stream api (kind of) implementation for go, other useful functions and packages to use go in a functional way
func GetIDs(...) ([]string, ...) { <...> users := GetUsers(...) return ff.Map(users, domain.UserGetID).Do(), ... } ``` Now it's that easy! Furthermore you may like to write gogenerate function to generate such methods for each domain struct. Also there are more cool features, minimal-lock parallelism, error handling etc. in the libtaty https://github.com/koss-null/FuncFrog Cheers!
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
-
FuncFrog
Stream api (kind of) implementation for go, other useful functions and packages to use go in a functional way (by mattayes)
Yeah, standard implementation meant using a vanilla for loop. I created a benchmark matching the example given above, here were my results:
-