| commit | c5a68ec3ce6f404a433753dd8b7898faead3d3cf | [log] [tgz] |
|---|---|---|
| author | Matt T. Proud <[email protected]> | Sat Sep 24 14:45:31 2022 |
| committer | Matt T. Proud <[email protected]> | Sun Oct 23 06:32:22 2022 |
| tree | f12b3cc92c10d70d00b199894466d2522fc3978f | |
| parent | c182affec369e30f25d3eb8cd8a478dee585ae7d [diff] |
pbutil: modernize the package for 2022. This commit modernizes the package along several dimensions: * Rebasing on Protocol Buffers using native reflection API. * Refactoring tests to use `errors.Is` and `cmp` and subtests. * 100% test coverage, which is not a useful measure in and of itself. This version has been tested solely on Go 1.19, though I expect that Go 1.13 would work.
This repository provides various Protocol Buffer feature extensions for the Go programming language (golang), namely support for record length-delimited message streaming.
| Java | Go |
|---|---|
| MessageLite#parseDelimitedFrom | pbutil.ReadDelimited |
| MessageLite#writeDelimitedTo | pbutil.WriteDelimited |
Because Code Review 9102043 is destined to never be merged into mainline (i.e., never be promoted to formal goprotobuf features), this repository will live here in the wild.
We have generated Go Doc documentation here.