Skip to content

Commit

Permalink
fixup types
Browse files Browse the repository at this point in the history
  • Loading branch information
codyoss committed Jun 12, 2024
1 parent 83106d0 commit e1e0bb0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions google-api-go-generator/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -2559,16 +2559,16 @@ func (meth *Method) IsProtoStructResponse() bool {

// isProtoStruct determines if the Schema represents a
// [google.golang.org/protobuf/types/known/structpb.Struct].
func isProtoStruct(s *Schema) bool {
if s == nil {
return false
}

if s.Ref == "GoogleProtobufStruct" {
return true
}
return false
func isProtoStruct(s *disco.Schema) bool {
if s == nil {
return false
}

if s.Ref == "GoogleProtobufStruct" {
return true
}

return false
}

func (meth *Method) IsRawResponse() bool {
Expand Down

0 comments on commit e1e0bb0

Please sign in to comment.