all: Update protobuf package 1.0.0 -> 1.2.0 (#5452)
Also adds a few file global options to keep the generated code similar to what we already had.
This commit is contained in:
4
vendor/github.com/gogo/protobuf/test/combos/both/uuid.go
generated
vendored
4
vendor/github.com/gogo/protobuf/test/combos/both/uuid.go
generated
vendored
@@ -47,6 +47,10 @@ func PutLittleEndianUint64(b []byte, offset int, v uint64) {
|
||||
|
||||
type Uuid []byte
|
||||
|
||||
func (uuid Uuid) Bytes() []byte {
|
||||
return uuid
|
||||
}
|
||||
|
||||
func (uuid Uuid) Marshal() ([]byte, error) {
|
||||
if len(uuid) == 0 {
|
||||
return nil, nil
|
||||
|
||||
Reference in New Issue
Block a user