|author||Krzysztof Dryś <firstname.lastname@example.org>||Wed Mar 24 18:44:03 2021|
|committer||GitHub <email@example.com>||Wed Mar 24 18:44:03 2021|
jsonpb: restore previous behavior for handling nulls and JSONPBUnmarshaler (#1300) When a JSON null is encountered for a field which implements JSONPBUnmarshaler, jsonpb will now call the unmarshal method, instead of just skipping the field.
This module (
github.com/golang/protobuf) contains Go bindings for protocol buffers.
It has been superseded by the
google.golang.org/protobuf module, which contains an updated and simplified API, support for protobuf reflection, and many other improvements. We recommend that new code use the
Versions v1.4 and later of
github.com/golang/protobuf are implemented in terms of
google.golang.org/protobuf. Programs which use both modules must use at least version v1.4 of this one.
See the developer guide for protocol buffers in Go for a general guide for how to get started using protobufs in Go.
See release note documentation for more information about individual releases of this project.
See documentation for the next major revision for more information about the purpose, usage, and history of this project.
Summary of the packages provided by this module:
protoprovides functions operating on protobuf messages such as cloning, merging, and checking equality, as well as binary serialization and text serialization.
jsonpbserializes protobuf messages as JSON.
ptypesprovides helper functionality for protobuf well-known types.
anyis the generated package for
emptyis the generated package for
timestampis the generated package for
durationis the generated package for
wrappersis the generated package for
structpbis the generated package for
descriptoris the generated package for
pluginis the generated package for
protoc-gen-gobinary is a protoc plugin to generate a Go protocol buffer package.
The issue tracker for this project is located here.
Please report any issues with a sufficient description of the bug or feature request. Bug reports should ideally be accompanied by a minimal reproduction of the issue. Irreproducible bugs are difficult to diagnose and fix (and likely to be closed after some period of time). Bug reports must specify the version of the Go protocol buffer module and also the version of the protocol buffer toolchain being used.
This project is open-source and accepts contributions. See the contribution guide for more information.
This module and the generated code are expected to be stable over time. However, we reserve the right to make breaking changes without notice for the following reasons:
.protofiles. This includes declared constants, variables, functions, types, fields in structs, and methods on types. This may break attempts at injecting additional code on top of what is generated by
protoc-gen-go. Such practice is not supported by this project.
generatorpackage, and all packages under
Any breaking changes outside of these will be announced 6 months in advance to firstname.lastname@example.org.