github.com/Ioloman/go-fun

😎 NoFun (Not Only FUNctional) is a Go package that provides utilities for functional programming and other utilities.


License
MIT
Install
go get github.com/Ioloman/go-fun

Documentation

NoFun


tag Go Version GoDoc tests Go report codecov License

😎 kirilldd2/go-no-fun/NoFun (Not Only FUNctional) provides utility functions inspired by functional-style programming, python standard library and "samber/lo" Go package. Based on generics. Supports Go 1.18+.

Designed with simplicity in mind. In this project I will try to implement simple and useful API. Signatures like DoX2 -> DoX9 is a big no-no.

‼ Disclaimer: In some cases this kind of approach + generics gives big overhead, compared to the same thing written via for loop. So think twice before using this where performance is important.


Checklist