catatsuy / cache

Cache Library for Go
MIT License
14 stars 0 forks source link

refactor SingleflightGroup to use string keys only #10

Closed catatsuy closed 1 week ago

catatsuy commented 1 week ago

This pull request focuses on simplifying the SingleflightGroup implementation by removing the generic key type and standardizing it to use strings. This change affects multiple files, including the main package, examples, and tests.

Key changes:

Simplification of SingleflightGroup:

Updates to examples and tests: