Saturday, May 18, 2024
HomeGolangGoLand 2023.2 Launch Candidate Is Out there! 

GoLand 2023.2 Launch Candidate Is Out there! 


Releases

GoLand 2023.2 Launch Candidate is out now!

You may get this construct through the Toolbox App, obtain it from our web site, or use a snap bundle (for Ubuntu). You too can obtain the construct from inside GoLand by deciding on Verify IDE updates for: Early Entry Program in Settings | Look & Habits | System Settings | Updates.


Obtain GoLand Launch Candidate

Please word that to make use of GoLand 2023.2 RC, it is advisable have an lively subscription or begin a 30-day trial.

The Launch Candidate gives all the new options and enhancements already introduced throughout our present EAP cycle and anticipated within the main 2023.2 launch.

Our current EAP weblog posts have extra particulars about these updates, however listed here are among the highlights:

This RC construct consists of some new options as nicely. Let’s have a look!

Help for errors.Is and errors.As

We’ve applied two inspections that can spotlight the instances the place errors.Is or errors.As needs to be used. There are additionally quick-fixes that can enable you to refactor the prevailing code to errors.Is or errors.As usages.

The primary inspection highlights the direct comparisons of errors.

In Go 1.13 and later, errors could be wrapped utilizing the fmt.Errorf operate with the %w verb, and direct comparability of errors utilizing the equality test could fail on wrapped errors.

The popular manner of checking for a particular error is to make use of the errors.Is operate from the usual library. GoLand now has a quick-fix that implies changing direct error comparisons to usages of errors.Is.

The second inspection highlights kind assertions and kind switches on errors, reminiscent of  err.(*MyErr) or swap err.(kind), as they could additionally fail on wrapped errors.

The popular manner in Go 1.13 and later is to make use of errors.As. Our new quick-fix suggests changing kind assertions and kind switches on errors to usages of errors.As.

Help for min, max, and clear

GoLand 2023.2 RC gives fundamental help for min, max, and clear – the brand new features launched in Go 1.21.

That’s it for at this time! We’d love to listen to what you concentrate on the brand new options. Get in contact with us on Twitter, depart your feedback beneath, report any points in our tracker, or drop us a message within the Gophers Slack #goland channel. Thanks!



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments