I found with govendor enabled project, gotemplate would complain with follows:
Type checking error: xxx.go:5:2: could not import github.com/go-xorm/xorm (can't find import: "myproject/vendor/github.com/go-xorm/xorm")
xx.go:3: running "gotemplate": exit status 1
I found with govendor enabled project, gotemplate would complain with follows: Type checking error: xxx.go:5:2: could not import github.com/go-xorm/xorm (can't find import: "myproject/vendor/github.com/go-xorm/xorm") xx.go:3: running "gotemplate": exit status 1
I am using go 1.12 darwain/amd64