github.com/whiteCcinn/protobuf-go@v1.0.9/internal/impl/codec_map_go112.go (about)

     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  //go:build go1.12
     6  // +build go1.12
     7  
     8  package impl
     9  
    10  import "reflect"
    11  
    12  func mapRange(v reflect.Value) *reflect.MapIter { return v.MapRange() }