brunomvsouza / singleflight

A type-safe wrapper around `golang.org/x/sync/singleflight` that adds generic type support. Provides the same duplicate function call suppression mechanism with compile-time type safety through `Group[K ~string, V any]` and `Result[V any]`.

Home Page:https://pkg.go.dev/github.com/brunomvsouza/singleflight

Repository from Github https://github.combrunomvsouza/singleflightRepository from Github https://github.combrunomvsouza/singleflight

brunomvsouza/singleflight Stargazers