Damien Neil | cc2b078 | 2019-04-05 14:33:10 -0700 | [diff] [blame] | 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. |
Damien Neil | 3a9e1dc | 2021-12-06 14:18:55 -0800 | [diff] [blame] | 6 | //go:build protoreflect |
Damien Neil | cc2b078 | 2019-04-05 14:33:10 -0700 | [diff] [blame] | 7 | // +build protoreflect |
| 8 | |
| 9 | package proto |
| 10 | |
Joe Tsai | 0f81b38 | 2019-07-10 23:14:31 -0700 | [diff] [blame] | 11 | import ( |
| 12 | "google.golang.org/protobuf/reflect/protoreflect" |
| 13 | "google.golang.org/protobuf/runtime/protoiface" |
| 14 | ) |
Damien Neil | cc2b078 | 2019-04-05 14:33:10 -0700 | [diff] [blame] | 15 | |
Joe Tsai | 705acad | 2019-09-14 18:22:59 -0700 | [diff] [blame] | 16 | const hasProtoMethods = false |
| 17 | |
Joe Tsai | 0f81b38 | 2019-07-10 23:14:31 -0700 | [diff] [blame] | 18 | func protoMethods(m protoreflect.Message) *protoiface.Methods { |
Damien Neil | cc2b078 | 2019-04-05 14:33:10 -0700 | [diff] [blame] | 19 | return nil |
| 20 | } |