Commit graph

2 commits

Author SHA1 Message Date
Snider
a8fa63e7f1 fix(cache): replace fmt.Errorf and raw errors with coreerr.E(), standardise go-io import alias
- Add forge.lthn.ai/core/go-log as direct dependency (was indirect)
- Alias go-io import as coreio throughout cache.go and cache_test.go
- Replace all fmt.Errorf calls in Path() with coreerr.E()
- Wrap all raw error returns from stdlib/medium calls with coreerr.E()
- No interface implemented by Cache found; compile-time check skipped

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 18:19:50 +00:00
Snider
9f8cb6cd0e feat: extract cache package from core/go pkg/cache
File-based cache with TTL, JSON serialisation, go-io Medium backend.

Moved from forge.lthn.ai/core/go/pkg/cache to standalone module.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-06 13:03:52 +00:00