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

Hard coded paths in bindata.go #2

Closed
scottjbarr opened this issue Aug 7, 2016 · 3 comments
Closed

Hard coded paths in bindata.go #2

scottjbarr opened this issue Aug 7, 2016 · 3 comments

Comments

@scottjbarr
Copy link

scottjbarr commented Aug 7, 2016

There are two hard coded paths in bindata.go

Example.

path := "/Users/achiku/.go/1.6.1/src/github.com/achiku/dgw/template/struct.tmpl"

How about a command line argument that specifies the template directory?

@achiku
Copy link
Member

achiku commented Aug 7, 2016

Good catch. I will add bindata.go to .gitignore since the below line should generate it before compile. https://github.com/achiku/dgw/blob/master/dgw.go#L1

@scottjbarr
Copy link
Author

Now when installing I see...

$ go get -u github.com/achiku/dgw
# github.com/achiku/dgw
src/github.com/achiku/dgw/dgw.go:261: undefined: Asset

@achiku
Copy link
Member

achiku commented Aug 10, 2016

@scottjbarr Fixed!

@achiku achiku closed this as completed Aug 10, 2016
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