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

Use the any alias for interface{} #91

Merged
merged 1 commit into from
Feb 22, 2024
Merged

Conversation

corneliusweig
Copy link
Collaborator

@corneliusweig corneliusweig commented Feb 14, 2024

This alias was added in go 1.18, which has been out for a while already.

As strings.Title() is deprecated this PR also implements goFieldName() with a hand-rolled implementation which handles unicode correctly.

This alias was added in go 1.18, which has been out for a while already.

As `strings.Title()` is deprecated this PR also implements
`goFieldName()` with a hand-rolled implementation which handles unicode
correctly.

Signed-off-by: Cornelius Weig <22861411+corneliusweig@users.noreply.github.com>
@hyangah hyangah merged commit 69ae96d into google:main Feb 22, 2024
4 checks passed
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.

3 participants