GoLand to highlight songle line error check?

Is it possible to highlight single-line error check ( if err:=…;err≠nil{ } )?

I'd like IDE to highlight where this syntax can be applied as warning.

0

Hi Konrad,

Thank you for your question! Could you please elaborate on the use case? This line of code is highlighted as an error already, so I'm not sure what other inspection you'd like to add. Some examples of a simple application and what you'd like to achieve with this would be very much appreciated.

Thank you!

0

请先登录再写评论。