Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does gotemplate support govendor? #34

Open
frank-fan opened this issue Apr 17, 2019 · 2 comments
Open

Does gotemplate support govendor? #34

frank-fan opened this issue Apr 17, 2019 · 2 comments

Comments

@frank-fan
Copy link

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
Copy link
Owner

ncw commented Apr 17, 2019

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

@frank-fan
Copy link
Author

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

@frank-fan frank-fan reopened this Jul 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants