mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
[Vendor] blevesearch v0.8.1 -> v1.0.7 (#11360)
* Update blevesearch v0.8.1 -> v1.0.7 * make vendor Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
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())
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user