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

[BUG] go install failed with v0.5.2 #248

Closed
hfudev opened this issue Feb 16, 2024 · 2 comments
Closed

[BUG] go install failed with v0.5.2 #248

hfudev opened this issue Feb 16, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@hfudev
Copy link

hfudev commented Feb 16, 2024

To Reproduce
Steps to reproduce the behavior:

  1. Run go install github.com/esnet/gdg@v0.5.2

Error message:

go: github.com/esnet/gdg@v0.5.2: module github.com/esnet/gdg@v0.5.2 found, but does not contain package github.com/esnet/gdg

go install github.com/esnet/gdg@v0.5.1 installed correctly.

@hfudev hfudev added the bug Something isn't working label Feb 16, 2024
@safaci2000
Copy link
Contributor

safaci2000 commented Feb 16, 2024

Ah, nice catch. I need to update the documentation. There's two binaries that are part of gdg now, so to install gdg it's

go install github.com/esnet/gdg/cmd/gdg@v0.5.2

If you want to use the template generator:

go install github.com/esnet/gdg/cmd/gen@v0.5.2

All the packaged versions name the binary gdg-generate. If you use go, it'll be called gen instead. I'll update on the next release so if you're using go to install this, it's consistent with everything else.

@hfudev
Copy link
Author

hfudev commented Feb 16, 2024

Got it, thanks!

safaci2000 added a commit that referenced this issue Feb 16, 2024
safaci2000 added a commit that referenced this issue Feb 16, 2024
safaci2000 added a commit that referenced this issue Feb 16, 2024
safaci2000 added a commit that referenced this issue Feb 16, 2024
safaci2000 added a commit that referenced this issue Feb 16, 2024
safaci2000 added a commit that referenced this issue Feb 16, 2024
safaci2000 added a commit that referenced this issue Feb 16, 2024
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

2 participants