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

Changing gin to debug mode when debug config is true #69

Merged

Conversation

shanehughes1990
Copy link
Contributor

This is usefull in debugging Issue 68

@shanehughes1990
Copy link
Contributor Author

I could refractor this so that there is a debug flag that lives in Webserver struct, and inject it in main to keep webserver isolated from the rest of the config, that might be a betteer approach, this "works" though.

@aetaric aetaric self-requested a review September 20, 2023 15:07
@aetaric aetaric merged commit 85747c9 into aetaric:main Sep 20, 2023
shanehughes1990 added a commit to shanehughes1990/checkrr that referenced this pull request Sep 20, 2023
Changing gin to debug mode when debug config is true (aetaric#69)
@shanehughes1990 shanehughes1990 deleted the use-gin.DebugMode-on-debug-true branch November 1, 2023 21:13
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