diff options
Diffstat (limited to 'vendor/google.golang.org/protobuf/internal/impl/codec_map_go112.go')
-rw-r--r-- | vendor/google.golang.org/protobuf/internal/impl/codec_map_go112.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/google.golang.org/protobuf/internal/impl/codec_map_go112.go b/vendor/google.golang.org/protobuf/internal/impl/codec_map_go112.go new file mode 100644 index 0000000000..1533ef600c --- /dev/null +++ b/vendor/google.golang.org/protobuf/internal/impl/codec_map_go112.go @@ -0,0 +1,11 @@ +// Copyright 2019 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// +build go1.12 + +package impl + +import "reflect" + +func mapRange(v reflect.Value) *reflect.MapIter { return v.MapRange() } |