happyDomain/internal/usecase/user
Pierre-Olivier Mercier 6add2f220e
All checks were successful
continuous-integration/drone/tag Build is passing
Refactor storage layer to use key-value template pattern
Extract common key-value storage operations into internal/storage/kvtpl/
template directory. This consolidates duplicated logic from both leveldb
and inmemory implementations into reusable generic functions.

Key changes:
- Create kvtpl/ package with generic KV storage operations
- Consolidate iterator implementation using generics
- Update migration functions to use new template structure
- Refactor tests to work with new storage interface

This prepares the codebase for easier addition of new storage backends
by providing a consistent template layer.
2026-01-09 17:17:04 +07:00
..
storage.go Refactor user usecase: simplification 2025-11-07 17:59:57 +07:00
user.go Refactor authuser usecase: simplification 2025-11-07 17:59:57 +07:00
user_test.go Refactor storage layer to use key-value template pattern 2026-01-09 17:17:04 +07:00