aetaric / checkrr

Checkrr Scans your library files for corrupt media and replace the files via sonarr and radarr
MIT License
179 stars 8 forks source link

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

Closed shanehughes1990 closed 9 months ago

shanehughes1990 commented 9 months ago

This is usefull in debugging Issue 68

shanehughes1990 commented 9 months ago

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.