Skip to content
New issue

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

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

Already on GitHub? # to your account

Not working with many Go paths #4

Closed
matrixik opened this issue Mar 4, 2016 · 2 comments
Closed

Not working with many Go paths #4

matrixik opened this issue Mar 4, 2016 · 2 comments
Assignees
Labels

Comments

@matrixik
Copy link

matrixik commented Mar 4, 2016

Hi,

I tried to use your tool, but looks like it not working with many Go paths. I believe problem is https://github.com/msoap/go-carpet/blob/master/go-carpet.go#L127

When I have;

export GOROOT=$HOME/.go
export PATH=$PATH:$GOROOT/bin
export GOPATH=$HOME/golibs/os:$HOME/golibs/forks:$HOME/golibs/my
export PATH=$PATH:$HOME/golibs/my/bin:$HOME/golibs/forks/bin:$HOME/golibs/os/bin

I get errors when running:

dobek@Lapek2:~/go/os/sr/gi/Ge/go.rice <master:✔>
20:26:22 λ go-carpet .                                                                                                                            [40d21h44m]
2016/03/04 20:26:24 open /home/dobek/golibs/os:/home/dobek/golibs/forks:/home/dobek/golibs/my/src/github.com/GeertJohan/go.rice/appended.go: no such file or directory
2016/03/04 20:26:25 open /home/dobek/golibs/os:/home/dobek/golibs/forks:/home/dobek/golibs/my/src/github.com/GeertJohan/go.rice/rice/append.go: no such file or directory

Cherrs

@msoap msoap self-assigned this Mar 4, 2016
@msoap msoap added the bug label Mar 4, 2016
@msoap msoap closed this as completed in def1b84 Mar 4, 2016
@msoap
Copy link
Owner

msoap commented Mar 4, 2016

But, if the same file is found in different parts of GOPATH, it will be processed first.

@matrixik
Copy link
Author

matrixik commented Mar 5, 2016

No problem with me. Thank you for fixing.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants