-
Notifications
You must be signed in to change notification settings - Fork 234
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Justin King <[email protected]>
Signed-off-by: Justin King <[email protected]>
Signed-off-by: Justin King <[email protected]>
Signed-off-by: Justin King <[email protected]>
Signed-off-by: Justin King <[email protected]>
Signed-off-by: Justin King <[email protected]>
Signed-off-by: Justin King <[email protected]>
Signed-off-by: Justin King <[email protected]>
Signed-off-by: Justin King <[email protected]>
return formatStringV2(arg) | ||
} | ||
|
||
func (c *stringFormatterV2) Decimal(arg ref.Val) (string, error) { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
No description provided.