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

feat: Add Black and Underline #7

Merged
merged 1 commit into from
Oct 11, 2022
Merged

feat: Add Black and Underline #7

merged 1 commit into from
Oct 11, 2022

Conversation

TwiN
Copy link
Owner

@TwiN TwiN commented Oct 11, 2022

Summary

This adds support for color.Black and color.Underline (yes, yes, I know Underline isn't a color; but we already have color.Bold!)

Checklist

  • Tested and/or added tests to validate that the changes work as intended, if applicable.
  • Added the documentation in README.md, if applicable.

// Example:
//
// println(color.InUnderline("This is underlined"))
func InUnderline(s string) string {
Copy link
Owner Author

Choose a reason for hiding this comment

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

Personally, I would have preferred to call this function Underline, but that field is already taken by the variable so.. 😔

@TwiN TwiN merged commit 0239897 into master Oct 11, 2022
@TwiN TwiN deleted the black-and-underline branch October 11, 2022 21:49
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.

1 participant