commit | 89d49632e5cfc3deacea3376477821536d1d4c1e | [log] [tgz] |
---|---|---|
author | Joe Tsai <joetsai@digital-static.net> | Tue Jun 04 16:20:00 2019 -0700 |
committer | Joe Tsai <joetsai@digital-static.net> | Wed Jun 05 19:53:14 2019 +0000 |
tree | f035bed4aaf255ef837ab5b7c42e2b8345d24955 | |
parent | ea2076d064f474809968a6092f74841bb2e8790b [diff] |
internal/impl: abstract away ExtensionDescV1 as the underlying descriptor Add ExtensionField.{SetType,GetType} to hide the fact that the underlying descriptor is actually an ExtensionDescV1. Change-Id: I1d0595484ced0a88d2df0852a732fdf0fe9aa232 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/180538 Reviewed-by: Damien Neil <dneil@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.