Fix unmarshaling code to properly handle multiple instances of the same
extension appearing in the wire format. Prior to this change, multiple
custom options would result in all but the first being discarded when
processed using the proto.GetExtension() facilities.

Signed-off-by: David Symonds <dsymonds@golang.org>
4 files changed