Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: check for nil and return explicit type for UseWithCtx method #2003

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

huiyifyj
Copy link
Contributor

@huiyifyj huiyifyj commented Apr 1, 2025

  • Add nil check for context parameter.
  • UseWithCtx method returns explicit type rather than interface.
  • Add missing isPackage argument called the test method.

huiyifyj added 2 commits April 1, 2025 16:26
- Add nil check for context parameter.
- UseWithCtx method return explicit type rather than interface.

Replace base64Captcha.Store return type with *RedisStore for better type safety.
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