commit | 44e389ca6c13c227cd064f9425fb65b683dcce26 | [log] [tgz] |
---|---|---|
author | Joe Tsai <joetsai@digital-static.net> | Mon Nov 19 15:27:09 2018 -0800 |
committer | Joe Tsai <joetsai@google.com> | Mon Nov 19 23:34:00 2018 +0000 |
tree | 97fdc0e926c14dc8886e462daa0c9124b73f75ba | |
parent | c6320b9f23068bfff49a3c38c97d76493f3b43aa [diff] |
internal/impl: fix Has for proto3 scalars The definition of Has for proto3 scalars is whether the value is non-zero. Change-Id: I6aee92dd518d63a66515ad35da84b2be7aa22527 Reviewed-on: https://go-review.googlesource.com/c/150320 Reviewed-by: Herbie Ong <herbie@google.com> Reviewed-by: Joe Tsai <joetsai@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.