You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update examples to use simplified API and fix linting issues
- Updated all examples to use new config-based API instead of removed builder methods
- Fixed compression examples to use WithCompression(&compression.Config{...})
- Fixed redis examples to use WithRedis(&obcache.RedisConfig{...})
- Fixed metrics examples to use WithMetrics(&obcache.MetricsConfig{...})
- Removed deprecated WithContext usage from examples
- Fixed context parameter ordering in cache hit/miss functions
- Removed unused test functions and imports
- Cleaned up unused parameters in wrap functions
All examples now compile and run correctly with the simplified API.
All linting checks pass.
0 commit comments