commit | c9899da4d521425dcfb420797c06c2de5b2f2521 | [log] [tgz] |
---|---|---|
author | Joe Tsai <joetsai@digital-static.net> | Thu Dec 06 18:34:53 2018 -0800 |
committer | Joe Tsai <thebrokentoaster@gmail.com> | Fri Dec 07 22:40:20 2018 +0000 |
tree | cc85dcefca084bf806789093323ea7a90e2755cb | |
parent | bce82b8e0d9c69050656c1b47fea8a3a5ff29709 [diff] |
internal/encoding/defval: unify logic for handling default values Logic for serializing the default value in textual form exists in multiple places in trivially similar forms. Centralize that logic. Change-Id: I4408ddfeef2c0dfa5c7468e01a4d4df5654ae57f Reviewed-on: https://go-review.googlesource.com/c/153022 Reviewed-by: Herbie Ong <herbie@google.com>
WARNING: This repository is in active development. There are no guarantees about API stability. Breaking changes will occur until a stable release is made and announced.
This repository is for the development of the next major Go implementation of protocol buffers. This library makes breaking API changes relative to the existing Go protobuf library. Of particular note, this API aims to make protobuf reflection a first-class feature of the API and implements the protobuf ecosystem in terms of reflection.
List of relevant design documents:
We appreciate community contributions. See CONTRIBUTING.md.
Issues regarding the new API can be filed at github.com/golang/protobuf. Please use a APIv2:
prefix in the title to make it clear that the issue is regarding the new API work.