ncw / gotemplate

Package based templating system for Go
MIT License
258 stars 28 forks source link

Does gotemplate support `govendor`? #34

Open frank-fan opened 5 years ago

frank-fan commented 5 years ago

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

ncw commented 5 years ago

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

frank-fan commented 5 years ago

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