Closed edoardo849 closed 8 years ago
Thank you, glad to hear you enjoyed it!
Yeah, that's something I need to add the the README. I'm currently using gvt
for vendoring but that might subject to change. I haven't yet used glide myself but if you think it would improve the workflow then I'd be happy to accept a PR. Otherwise the alternative is, as you mentioned, to clone it into github.com/marcusolsson link.
Of course, I'd be happy to review a PR for a Makefile as well :)
Glide won't fix this problem. Because this repo has a vendor directory, it is one (or multiple) Go binaries i.e. package mains. And in order to work with your own fork or copy of such a Go package, you need to work in the original repo's location on disk. That is,
I'll add the instructions to the README. Thanks for the input @peterbourgon!
Hello! Participated at Goconf2016, awesome talk :-)
So I've forked this repo but run into trouble when trying to run it. Essentially the compiler first looks into the
/vendor
folder, but since in the code the imports are specified asgithub.com/marcusolsson/
it doesn't work when I clone the project in the local foldergithub.com/edoardo849
.My suggestion could be to use a package management tool like glide to fix the problems OR to specify in the README to create the folder
GOPATH/src/github.com/marcusolsson
and togit clone
there.Sample output:
I was also thinking that maybe it will be easier to just have a makefile to
make run
andmake docker-run
to do everything. If you agree I can create it myself and create a pull request. Let me know!