-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Module aware generator #1436
Merged
Merged
Module aware generator #1436
Commits on Jul 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d225ba8 - Browse repository at this point
Copy the full SHA d225ba8View commit details -
Change generator to require opting in to viper.
Cobra and Viper are great together, but it's not uncommon to use them apart. New Cobra users don't know better and including Viper by default adds complexity to the skeleton.
Configuration menu - View commit details
-
Copy full SHA for 0243fe0 - Browse repository at this point
Copy the full SHA 0243fe0View commit details -
Change generator default license to none
It's questionable that a default license makes any sense from a legal perspective. If the tool created the license without the user choosing it, then it may not even be applicable. Best to let the user choose their license with intent.
Configuration menu - View commit details
-
Copy full SHA for 0463683 - Browse repository at this point
Copy the full SHA 0463683View commit details -
Cobra generator now works within Go modules
Pretty major change in behavior, but with modules a change is needed. Now cobra can initialize and add from within any Go module. The experience is simplified and streamlined, but requires `go mod init` to happen first.
Configuration menu - View commit details
-
Copy full SHA for 25ac916 - Browse repository at this point
Copy the full SHA 25ac916View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7b9dc5 - Browse repository at this point
Copy the full SHA d7b9dc5View commit details
Commits on Jul 2, 2021
-
Updating generator documentation and links
Merging the updated documentation from the user_guide into the cobra/README.md. Adding links as appropriate to both guides.
Configuration menu - View commit details
-
Copy full SHA for b4ab663 - Browse repository at this point
Copy the full SHA b4ab663View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31a1f21 - Browse repository at this point
Copy the full SHA 31a1f21View commit details
Commits on Nov 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b33fae1 - Browse repository at this point
Copy the full SHA b33fae1View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.