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

Fix typo #2

Merged
merged 4 commits into from
Jun 19, 2022
Merged

Fix typo #2

merged 4 commits into from
Jun 19, 2022

Conversation

mattn
Copy link
Contributor

@mattn mattn commented Jun 18, 2022

このライブラリを使ってはないですが typo を見付けたので。
関数名が変わっているのでこのライブラリを使っている側の修正も必要です。

README.md Outdated Show resolved Hide resolved
@spenserblack spenserblack mentioned this pull request Jun 18, 2022
Comment on lines +5 to +6
func Default(text string) string {
return "\x1b[0m" + text
Copy link
Contributor

@spenserblack spenserblack Jun 18, 2022

Choose a reason for hiding this comment

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

Suggested change
func Default(text string) string {
return "\x1b[0m" + text
// Deprecated: Use Default
func Defalt(text string) string {
return Default(text)
}
func Default(text string) string {
return "\x1b[0m" + text

どう思いますか?
これでbreaking changeの変更じゃないでしょう。

(「breaking change」を日本語で書き方はわらなくてすみません 😖 )

@code-raisan
Copy link
Owner

なんともお恥ずかしいTypoだらけで。。。。ありがとうございます。

@code-raisan code-raisan merged commit 9b6b075 into code-raisan:main Jun 19, 2022
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