gotemplate icon indicating copy to clipboard operation
gotemplate copied to clipboard

Does gotemplate support `govendor`?

Open frank-fan opened this issue 6 years ago • 2 comments

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

frank-fan avatar Apr 17 '19 08:04 frank-fan

So you were trying to template something which depended on a vendored dependency - is that correct?

ncw avatar Apr 17 '19 20:04 ncw

@ncw yes, that's right. sorry I missed the message.

frank-fan avatar Jul 19 '19 10:07 frank-fan