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

go get ... failed with "no Go files in ..." #186

Closed
vicamo opened this issue Jul 4, 2019 · 1 comment · Fixed by #188
Closed

go get ... failed with "no Go files in ..." #186

vicamo opened this issue Jul 4, 2019 · 1 comment · Fixed by #188

Comments

@vicamo
Copy link
Contributor

vicamo commented Jul 4, 2019

# go get -d -v github.com/lxc/distrobuilder
github.com/lxc/distrobuilder (download)
created GOPATH=/root/go; see 'go help gopath'
package github.com/lxc/distrobuilder: no Go files in /root/go/src/github.com/lxc/distrobuilder
vicamo added a commit to vicamo/distrobuilder that referenced this issue Jul 4, 2019
vicamo added a commit to vicamo/distrobuilder that referenced this issue Jul 4, 2019
Closes: lxc#186
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
@s3rj1k
Copy link

s3rj1k commented Jul 4, 2019

confirming, same thing on go 1.12

vicamo added a commit to vicamo/distrobuilder that referenced this issue Jul 5, 2019
Retrieving source with project root folder by `go get` may result in
following error:

  # go get -d -v github.com/lxc/distrobuilder
  github.com/lxc/distrobuilder (download)
  created GOPATH=/root/go; see 'go help gopath'
  package github.com/lxc/distrobuilder: no Go files in /root/go/src/github.com/lxc/distrobuilder

Use the distrobuilder/ one level inside works around this.

Closes: lxc#186
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
monstermunchkin pushed a commit to monstermunchkin/distrobuilder that referenced this issue Jul 8, 2019
Retrieving source with project root folder by `go get` may result in
following error:

  # go get -d -v github.com/lxc/distrobuilder
  github.com/lxc/distrobuilder (download)
  created GOPATH=/root/go; see 'go help gopath'
  package github.com/lxc/distrobuilder: no Go files in /root/go/src/github.com/lxc/distrobuilder

Use the distrobuilder/ one level inside works around this.

Closes: lxc#186
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants