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

Episode 32 - Cobra - changes to cmd/root.go short and long descriptions don't update after a go install until I run go mod init #99

Open
teelowe opened this issue Aug 24, 2020 · 0 comments

Comments

@teelowe
Copy link

teelowe commented Aug 24, 2020

Thanks for the great videos. At ~7:50, you make a change to the Long description in the root command, run go install, and the code updates accordingly when you execute "todo". I did the same thing and found that my change to the short and long description would not update, even if I deleted my app binary from /bin and reran go install. It wasn't until I ran a go mod init in my app directory that things started to work as expected (i.e. code changes in the root command appeared after a go install...). Any idea why you were getting this to work without a go.mod file but I wasn't? Very perplexed.

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

1 participant