style: fix code style#1346
Conversation
|
As far as I know, this is a GoLand issue — it fails to properly infer the type here. I recall someone reported a similar problem on JetBrains YouTrack quite a while ago. |
|
Standard coding helps IDEs analyze code efficiently, doesn't it? |
|
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. If there is no update within the next 7 days, this pr will be closed. Please feel free to give a status update now, ping for review, when it's ready. Thank you for your contributions! |
|
refresh |
|
@Aoang I really hope this PR can be recommended. It's not a destructive change and won't affect any logic |
As @Aoang has correctly pointed out, this is a bug in GoLand's LSP. The official I think |
Complete the generic parameter passing of the
setCommentFromContextfunction to solve the false positive issue in IDE code analysis