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

Update strings.format to adhere to the specification #1133

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

jcking
Copy link
Collaborator

@jcking jcking commented Feb 19, 2025

No description provided.

@jcking jcking requested a review from TristonianJones March 3, 2025 16:28
return formatStringV2(arg)
}

func (c *stringFormatterV2) Decimal(arg ref.Val) (string, error) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you propagate the comments from the v1 file into v2?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which ones? I thought I copy pasted pretty much everything?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, just the capitalized methods. They're all exposed, so golint will complain if they're not commented.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought it only did that for public types? Because formatting.go does have them commented either.

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.

2 participants