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

feat: utils.ToTitle use cases.Title #40

Open
scottd018 opened this issue Jun 20, 2022 · 0 comments
Open

feat: utils.ToTitle use cases.Title #40

scottd018 opened this issue Jun 20, 2022 · 0 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@scottd018
Copy link
Contributor

scottd018 commented Jun 20, 2022

Need to update the utils.ToTitle method added in #39 to use the new functionality in go version 1.18. The problem with the new methodology is that, given an input of:

collection.spec.name

It would return:

Collection.spec.name

The old methodology (the expected methodology) capitalizes the first character after the punctuation. Until we can solve this, we still need to use the old methodology. The expected outcome of utils.ToTitle is:

collection.Spec.Name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants