vendor/google.golang.org/protobuf/proto/proto_reflect.go
changeset 256 6d9efbef00a9
child 260 445e01aede7e
equal deleted inserted replaced
255:4f153a23adab 256:6d9efbef00a9
       
     1 // Copyright 2019 The Go Authors. All rights reserved.
       
     2 // Use of this source code is governed by a BSD-style
       
     3 // license that can be found in the LICENSE file.
       
     4 
       
     5 // The protoreflect build tag disables use of fast-path methods.
       
     6 // +build protoreflect
       
     7 
       
     8 package proto
       
     9 
       
    10 import (
       
    11 	"google.golang.org/protobuf/reflect/protoreflect"
       
    12 	"google.golang.org/protobuf/runtime/protoiface"
       
    13 )
       
    14 
       
    15 const hasProtoMethods = false
       
    16 
       
    17 func protoMethods(m protoreflect.Message) *protoiface.Methods {
       
    18 	return nil
       
    19 }