github.com/wfusion/gofusion@v1.1.14/common/utils/clone/mapiter_go112.go (about)

     1  // Copyright 2019 Huan Du. All rights reserved.
     2  // Licensed under the MIT license that can be found in the LICENSE file.
     3  
     4  //go:build go1.12
     5  // +build go1.12
     6  
     7  package clone
     8  
     9  import (
    10  	"reflect"
    11  )
    12  
    13  func mapIter(m reflect.Value) *reflect.MapIter {
    14  	return m.MapRange()
    15  }