github.com/v2pro/plz@v0.0.0-20221028024117-e5f9aec5b631/concurrent/go_above_19.go (about)

     1  //+build go1.9
     2  
     3  package concurrent
     4  
     5  import "sync"
     6  
     7  type Map struct {
     8  	sync.Map
     9  }
    10  
    11  func NewMap() *Map {
    12  	return &Map{}
    13  }