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

Improve code efficiency #2

Open
george-maroun opened this issue Aug 7, 2023 · 0 comments
Open

Improve code efficiency #2

george-maroun opened this issue Aug 7, 2023 · 0 comments

Comments

@george-maroun
Copy link
Owner

george-maroun commented Aug 7, 2023

Currently, we're passing in the files to checker.go through loggercheck struct. Instead of passing in the file, we should create a map for files that match our criteria (declare logger etc) and pass that to checker.go instead. hence, we avoid looping over the file multiple times in checker.go

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

No branches or pull requests

1 participant