When we open a new .go file, vim-go inserts the hello_world.go template.
When opening a new _test.go file, I would expect vim-go to insert a slightly more appropriate template, like:
package main
import "testing"
func TestHelloWorld(t *testing.T) {
}
Hi @thomasheller
I've encountered that as well lately. Adding a flag so we can tackle it later. Thanks
/cc @bhcleek This is something I think you can tackle
I should be able to get to this in the next 2 weeks.
@bhcleek any chance you had a look for this?
Not yet. I'll plan to get to it this week, though.
This is now in master thanks to @bhcleek recent PR. Please pull it and try it out.
Most helpful comment
Hi @thomasheller
I've encountered that as well lately. Adding a flag so we can tackle it later. Thanks