Live Template to create test function
Write tests faster thanks to the builtin func Test live template.
How to use:
Place the cursor at the file level in a _test.go file and start typing func. Select the Test option from the suggested list and then complete this by writing the test name you desire.
Pro tip: You can invoke the Completion feature, ⌃␣ (macOS) / Ctrl+Space (Windows/Linux), to create test for methods too, not just functions.