-
GoDeLin is a Go library inspired by Kotlin standard library.
-
GoDeLin helps you write expressive, declarative Go code.
-
The goal is to complement Go, not to provide alternative to things that are effectively covered by the Go standard library.
📦 Installation To add GoDeLin to your project:
go get github.com/Sedose/GoDeLinThen import it in your Go files:
import "github.com/Sedose/GoDeLin"🔧 Usage Examples TODO
Happy coding! 🚀
📝 These functions are not provided
Chunked. Useslices.Chunkfunction.Drop: Use standard Go slice syntaxslice[n:]. Handle potential out-of-bounds access if needed (e.g.,slice[min(n, len(slice)):]).DropLast: Use standard Go slice syntaxslice[:len(slice)-n]. Handle potential negative results if needed (e.g.,slice[:max(0, len(slice)-n)]).Take: Use standard Go slice syntaxslice[:n]. Handle potential out-of-bounds access if needed (e.g.,slice[:min(n, len(slice))]).TakeLast: Use standard Go slice syntaxslice[len(slice)-n:]. Handle potential negative results if needed (e.g.,slice[max(0, len(slice)-n):]).
