Bruno Pedro


Protobuf has a new Opaque API.

Found at “Go Protobuf: The new Opaque API - The Go Programming Language” on 2024-12-17 11:52:55 +01:00.

With the Opaque API, the struct fields are hidden and can no longer be directly accessed. Instead, the new accessor methods allow for getting, setting, or clearing a field.