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

Feature/update readme #21

Merged
merged 4 commits into from
Oct 12, 2018
Merged

Conversation

iampeterbanjo
Copy link
Contributor

I started working on the tests and added some notes on how I got started with riffraff.

@iampeterbanjo
Copy link
Contributor Author

I'm getting this error in Vscode in find.go. Do you know why?

---- Vscode terminal output Go ----
/home/iampeterbanjo/golang/src/github.com/iampeterbanjo/riffraff/job>Finished running tool: /home/iampeterbanjo/golang/bin/golint

/home/iampeterbanjo/golang/src/github.com/iampeterbanjo/riffraff/job>Finished running tool: /home/iampeterbanjo/.asdf/installs/golang/1.11.1/go/bin/go vet ./...

/home/iampeterbanjo/golang/src/github.com/iampeterbanjo/riffraff/job>Finished running tool: /home/iampeterbanjo/.asdf/installs/golang/1.11.1/go/bin/go build -o /tmp/vscode-goOqoy8F/go-code-check github.com/iampeterbanjo/riffraff/job
go: finding github.com/iampeterbanjo/riffraff/job latest
go: github.com/iampeterbanjo/[email protected]: parsing go.mod: unexpected module path "github.com/mre/riffraff"
go: error loading module requirements

---- in Vscode Editor find.go line 1---
go: finding github.com/iampeterbanjo/riffraff/job latest
go: finding github.com/iampeterbanjo/riffraff v0.3.0
go: downloading github.com/iampeterbanjo/riffraff v0.3.0
go: github.com/iampeterbanjo/[email protected]: parsing go.mod: unexpected module path "github.com/mre/riffraff"
go: error loading module requirements

@mre
Copy link
Owner

mre commented Oct 11, 2018

Haven't seen this error before, but this gives a hint:

go: github.com/iampeterbanjo/[email protected]: parsing go.mod: unexpected module path "github.com/mre/riffraff"

You're working on your fork so it expects github.com/iampeterbanjo/riffraff as the project name in the go.mod, but it finds my upstream version, github.com/mre/riffraff.

Maybe related to the Go tooling in VSCode? We should check for issues there.

Few ideas:

  1. Does it work from the commandline? E.g. can you run a make build without any problems there?
  2. If not, does it work on a clean checkout of your fork?

@mre
Copy link
Owner

mre commented Oct 11, 2018

Related: golang/go#26904

@iampeterbanjo
Copy link
Contributor Author

Hmm... after a computer restart the problem seems to have gone away and make build works.

Thanks.

@mre mre merged commit 292a8bc into mre:master Oct 12, 2018
@mre
Copy link
Owner

mre commented Oct 12, 2018

Thank YOU @iampeterbanjo. 😉

@iampeterbanjo iampeterbanjo deleted the feature/update-readme branch October 12, 2018 22:49
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

Successfully merging this pull request may close these issues.

2 participants