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

Deprecate NewModel() constructors; use New() instead #93

Merged
merged 1 commit into from
Jan 11, 2022

Conversation

meowgorithm
Copy link
Member

This update changes the NewModel() convention in all Bubbles to the to the shorter New() function, in-line with @caarlos0's excellent work on the new timer and stopwatch Bubbles.

before := textinput.NewModel()
after := textinput.New()

@meowgorithm meowgorithm merged commit b35f96c into master Jan 11, 2022
@meowgorithm meowgorithm deleted the constructors branch January 11, 2022 16:26
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