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

How to run under gomod #85

Open
caibirdme opened this issue Sep 22, 2020 · 1 comment
Open

How to run under gomod #85

caibirdme opened this issue Sep 22, 2020 · 1 comment

Comments

@caibirdme
Copy link

the project layout is blow:

-myProject
  -libA
  -cmd
    -server
      -main.go
    -client
      -main.go
  -libB
  -go.mod
  -go.sum

When I run cd myProject && goreporter -p ., it warns me that:

package myProject/cmd/server is not in GOROOT
package myProject/cmd/client is not in GOROOT
package myProject/libA is not in GOROOT
package myProject/libB is not in GOROOT

How could I fix this?

@lhlyu
Copy link

lhlyu commented Sep 3, 2021

link

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