handle proto3 optional fields (synthetic oneofs)

fixes https://github.com/golang/open2opaque/issues/14

PiperOrigin-RevId: 730841203
Change-Id: Ie204e1ef8852226b4322c7f3b23eeb40d5f09a94
4 files changed
tree: b0178df0e6d6c92700901893635c3bad375ac43f
  1. .github/
  2. internal/
  3. testdata/
  4. CONTRIBUTING.md
  5. gen.go
  6. genprotos.go
  7. gentestdata.go
  8. go.mod
  9. go.sum
  10. LICENSE
  11. open2opaque.go
  12. open2opaque_flush.go
  13. README.md
  14. regenerate.bash
README.md

open2opaque

The open2opaque tool migrates Go packages from the Go Protobuf Open Struct API to the Opaque API.

For documentation, see: