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

package not in GOROOT #51

Closed
dv-blk opened this issue Jul 28, 2022 · 1 comment
Closed

package not in GOROOT #51

dv-blk opened this issue Jul 28, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@dv-blk
Copy link

dv-blk commented Jul 28, 2022

Describe the bug
log-parser.go:7:2: package nxadm/tail is not in GOROOT (/usr/local/go/src/nxadm/tail)

Expected behaviour
log-parser.go runs like the wind

To Reproduce

go get github.com/nxadm/tail/...

(import library in logparser.go)

go run logparser.go

System information

  • tail version 8.32
  • WSL ubuntu
  • amd64

Additional context
Hey just trying to install this library, I do have other libraries installed with go get that import correctly. I'm wondering if I'm missing something I should know before I dig into my Go environment, thanks!

@dv-blk dv-blk added the bug Something isn't working label Jul 28, 2022
@dv-blk
Copy link
Author

dv-blk commented Jul 29, 2022

I didn't put the full github.com/nxadm/tail in the import, one of those days...

@dv-blk dv-blk closed this as completed Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant