Skip to content

feat: utils.ToTitle use cases.Title #40

@scottd018

Description

@scottd018

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions