Implement AppendText and AppendBinary
- Dominant language
- Go
- Stars
- 6.1k
- Forks
- 440
- PR merge metrics
- No merged PRs in 30d
Description
Starting with Go 1.24, the [`TextAppender`](https://pkg.go.dev/encoding@master#TextAppender) and the [`BinaryAppender`](https://pkg.go.dev/encoding@master#TextAppender) interface have been introduced and got implemented by the standard library. Description from https://tip.golang.org/doc/go1.24:
> These interfaces provide the same functionality as [TextMarshaler](https://tip.golang.org/pkg/encoding#TextMarshaler) and [BinaryMarshaler](https://tip.golang.org/pkg/encoding#BinaryMarshaler), but instead of allocating a new slice each time, they append the data directly to an existing slice. These interfaces are now implemented by standard library types that already implemented TextMarshaler and/or BinaryMarshaler.
it would probably nice if `uuid` supported those as well.
Contributor guide
Assessment
This issue has not been assessed yet.