♻️ refactor(auth): move UserContextKey from pkg/greet to pkg/auth #90
Reference in New Issue
Block a user
Delete Branch "vibe/batch-pr-d1-move-user-context-key"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Move the auth context key and helper from pkg/greet/ to pkg/auth/ where it belongs. The pkg/auth/ package was created by PR #69. The middleware in pkg/server/middleware.go currently imports pkg/greet just to get greet.UserContextKey, which is an inverted dependency.
This refactor has NO behavioral change.