Update dependencies
This commit is contained in:
parent
0d085a2b4d
commit
2a72b198e3
84 changed files with 1461 additions and 980 deletions
6
vendor/google.golang.org/protobuf/proto/checkinit.go
generated
vendored
6
vendor/google.golang.org/protobuf/proto/checkinit.go
generated
vendored
|
@ -12,6 +12,12 @@ import (
|
|||
|
||||
// CheckInitialized returns an error if any required fields in m are not set.
|
||||
func CheckInitialized(m Message) error {
|
||||
// Treat a nil message interface as an "untyped" empty message,
|
||||
// which we assume to have no required fields.
|
||||
if m == nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
return checkInitialized(m.ProtoReflect())
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue