Handle Go errors by using a Postfix Completion

Keep writing code as you would and use the Postfix Completion to generate the boilerplate

How to use: Press . (dot) after the function/method call and continue to type the varCheckError, or simply vce, postfix completion.

It will surround your code with the appropriate boilerplate to create any missing variables that are returned and handle the error checking part for you.


Related Resources

Code vision
Focus on your code while getting additional information about it.
Better time format in completion
Use the commonly known date/time formatting strings while writing time formatting in Go
Evaluate Expression During Debugging
Select your code and execute it, in the right context.