george-maroun / tracecheck

GoLinter to identify improperly formatted logs and make suggestions to fix the logs
MIT License
3 stars 0 forks source link

Check if function takes a context before making fixes #7

Closed george-maroun closed 1 year ago

george-maroun commented 1 year ago

Add hasContextParameter to check if the enclosing function takes a context as argument. if not, ExecuteChecker returns