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

callback function that supports gin.Context #37

Merged
merged 3 commits into from
Apr 24, 2024
Merged

Conversation

tchen
Copy link
Contributor

@tchen tchen commented Apr 21, 2024

Add new optional call back that accepts the full *gin.Context type: WithGinCtxCallBack(func(c *gin.Context)).

Updated the test and docs to call it.

update docs in README.md and also tests with new GinCtxCallBack
remove "else" clause so all set callbacks will be called
@tchen
Copy link
Contributor Author

tchen commented Apr 23, 2024

@vearne could you review and provide feedback to this PR? Thanks!

@vearne vearne merged commit 74f243a into vearne:master Apr 24, 2024
2 checks passed
@tchen
Copy link
Contributor Author

tchen commented Apr 24, 2024

Thank you!

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.

2 participants