Starting with Go 1.24, the TextAppender and the BinaryAppender 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 and 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.
Starting with Go 1.24, the
TextAppenderand theBinaryAppenderinterface have been introduced and got implemented by the standard library. Description from https://tip.golang.org/doc/go1.24:it would probably nice if
uuidsupported those as well.