-
Notifications
You must be signed in to change notification settings - Fork 0
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
Should run on lines that call NewLogger and lines that call WithValues #3
Comments
// Example: // Should become: func LogErrorCallback(ctx context.Context, w http.ResponseWriter, r *http.Request, err error) { |
@george-maroun In the call above where are you getting the context from? |
Right. I’m changing the example and opening another issue to check for functions that take ctx as input. |
We'd like to check if NewLogger is invoked, then check if WithValues is called on the NewLogger:
Separately, check if WithValues has even number of args
The text was updated successfully, but these errors were encountered: