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

Completing Chrisbirster new string with format #3027

Merged

Conversation

andydotxyz
Copy link
Member

Wrap up the good work started in #2942, but match our naming and return style.

Fixes #2890

Checklist:

  • Tests included.
  • Lint and formatter run with no errors.
  • Tests all pass.

Where applicable:

  • Public APIs match existing style.

chrisbirster and others added 4 commits April 28, 2022 05:21
…ther naming

Result is `StringToStringWithFormat`.
We could add `NewStringWithFormat` as a shorthand, but it doesn't quite fit... thoughts?
This does not match other constructors and is always nil
@andydotxyz andydotxyz changed the base branch from master to develop June 2, 2022 09:08
@coveralls
Copy link

coveralls commented Jun 2, 2022

Coverage Status

Coverage increased (+0.007%) to 61.372% when pulling 7ed5724 on andydotxyz:chrisbirster-new-string-with-format into efbf153 on fyne-io:develop.

Jacalz
Jacalz previously approved these changes Jun 2, 2022
Copy link
Member

@Jacalz Jacalz left a comment

Choose a reason for hiding this comment

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

This looks good to me but I added a comment that you might want to look at before merging.

data/binding/sprintf.go Show resolved Hide resolved
@andydotxyz andydotxyz merged commit 8c5ac40 into fyne-io:develop Jun 2, 2022
@andydotxyz andydotxyz deleted the chrisbirster-new-string-with-format branch June 2, 2022 11:19
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.

Add binding.NewStringWithFormat
4 participants