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

prettier types #27

Merged
merged 2 commits into from
Feb 25, 2019
Merged

prettier types #27

merged 2 commits into from
Feb 25, 2019

Conversation

achille-roussel
Copy link
Contributor

This PR changes the default display of type names to be more user friendly when custom Go types are employed.

Before this change, if we used a custom type it would be rendered as <package>.<Type> in the help message of the program.

After this change, the same type will be rendered as <type> (all lower-case and omitting the package name), which often creates a better experience for the end user.

@yields yields self-requested a review February 25, 2019 10:40
@achille-roussel achille-roussel merged commit f8f7ef2 into master Feb 25, 2019
@achille-roussel achille-roussel deleted the prettier-types branch February 25, 2019 17:02
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

Successfully merging this pull request may close these issues.

5 participants