peridot/vendor/google.golang.org/protobuf/internal/impl/codec_map_go112.go

13 lines
300 B
Go
Raw Normal View History

2022-07-07 20:11:50 +00:00
// 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.
//go:build go1.12
2022-07-07 20:11:50 +00:00
// +build go1.12
package impl
import "reflect"
func mapRange(v reflect.Value) *reflect.MapIter { return v.MapRange() }