-
Notifications
You must be signed in to change notification settings - Fork 3
some messages polished #114
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
Conversation
|
@volodya-lombrozo please, check |
volodya-lombrozo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yegor256 It looks fine to me when we use capital letters in logs, but it's a common practice to use lower-case in error messages. It's an idiomatic way, let's say.
internal/brain/deepseek.go
Outdated
| data, err := json.Marshal(body) | ||
| if err != nil { | ||
| return "", fmt.Errorf("error marshaling request body: %w", err) | ||
| return "", fmt.Errorf("Error marshaling request body: %w", err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error strings should not be capitalized
| @@ -1,3 +1,4 @@ | |||
| // Package facilitator is for the facilitator. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yegor256 Do we need these meaningless comments?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@volodya-lombrozo golangci-lint demands us to have them. I don't know how did it work without them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yegor256 .golangci.yml
staticcheck:
checks: ["all", "-ST1005", "-ST1000"]
|
@volodya-lombrozo I reverted the changes, please look again |
volodya-lombrozo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yegor256 Looks good to me. Thanks!
closes #113