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

color: expose SetWriter and UnsetWriter #182

Merged
merged 1 commit into from Jan 22, 2023
Merged

color: expose SetWriter and UnsetWriter #182

merged 1 commit into from Jan 22, 2023

Conversation

fatih
Copy link
Owner

@fatih fatih commented Jan 22, 2023

For some users, performance is critical; hence, having access to the underlying writer functions allows them to use a bytes buffer and avoid string allocations.

closes #124

For some users performance is very important and hence having access to
the underlying writer functions allow them to use bytes buffer and avoid
string allocations.

closes #124
@fatih fatih merged commit 212f8c5 into main Jan 22, 2023
@fatih fatih deleted the expose-set-writers branch January 22, 2023 19:36
mend-for-github-com bot added a commit to DelineaXPM/dsv-cli that referenced this pull request Feb 6, 2023
#68)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/fatih/color](https://togithub.com/fatih/color) | require |
minor | `v1.13.0` -> `v1.14.1` |

---

### Release Notes

<details>
<summary>fatih/color</summary>

### [`v1.14.1`](https://togithub.com/fatih/color/releases/tag/v1.14.1)

[Compare
Source](https://togithub.com/fatih/color/compare/v1.14.0...v1.14.1)

#### What's Changed

- Update to Go 1.17 by [@&#8203;pellared](https://togithub.com/pellared)
in
[fatih/color#184

**Full Changelog**:
fatih/color@v1.14.0...v1.14.1

### [`v1.14.0`](https://togithub.com/fatih/color/releases/tag/v1.14.0)

[Compare
Source](https://togithub.com/fatih/color/compare/v1.13.0...v1.14.0)

#### What's Changed

- Bump github.com/mattn/go-colorable from 0.1.12 to 0.1.13 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[fatih/color#165
- Bump go-isatty from 0.0.16 to 0.0.17 by
[@&#8203;fatih](https://togithub.com/fatih) in
[fatih/color#178
- Spelling and grammar fixes by
[@&#8203;pattmax00](https://togithub.com/pattmax00) in
[fatih/color#181
- NO_COLOR requires a non-empty string by
[@&#8203;pellared](https://togithub.com/pellared) in
[fatih/color#171
- color: expose `SetWriter` and `UnsetWriter` by
[@&#8203;fatih](https://togithub.com/fatih) in
[fatih/color#182

#### New Contributors

- [@&#8203;pattmax00](https://togithub.com/pattmax00) made their first
contribution in
[fatih/color#181
- [@&#8203;pellared](https://togithub.com/pellared) made their first
contribution in
[fatih/color#171

**Full Changelog**:
fatih/color@v1.13.0...v1.14.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDAuMCIsInVwZGF0ZWRJblZlciI6IjM0LjEwMC4wIn0=-->

Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com>
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.

Exporting color.SetWriter / UnsetWriter
1 participant