Skip to content

Refactor/kv#24

Merged
chenyanchen merged 3 commits intomainfrom
refactor/kv
Jan 16, 2026
Merged

Refactor/kv#24
chenyanchen merged 3 commits intomainfrom
refactor/kv

Conversation

@chenyanchen
Copy link
Owner

No description provided.

chenyanchen and others added 3 commits January 16, 2026 12:47
…chenyanchen/kv

Align the Go module name with the repository name and package semantics.
Updates all imports, documentation, and configuration files accordingly.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add Core Interfaces section with KV, BatchKV, and ErrNotFound
- Add Implementing Your Own KV section with database example
- Reorganize Built-in Implementations section
- Add Composition section with layerkv, singleflightkv, and custom wrapper examples
- Add Full Composition Example showing production-ready setup

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Extract shared User and UserKV to internal/mock package
- Extract shared Content and ContentBatchKV to internal/mock package
- Extract reusable telemetry wrapper to internal/telemetry package
- Add new composition example showing full production setup
- Update all examples to use shared packages
- Add doc comments to all examples explaining their purpose
- Align examples with README documentation patterns

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@chenyanchen chenyanchen self-assigned this Jan 16, 2026
@chenyanchen chenyanchen merged commit 785c9d8 into main Jan 16, 2026
1 check passed
@chenyanchen chenyanchen deleted the refactor/kv branch January 16, 2026 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant