github.com/rajveermalviya/gamen@v0.1.2-0.20220930195403-9be15877c1aa/internal/common/atomicx/nocopy.go (about)

     1  // TODO: remove when we update go.mod to go1.19
     2  package atomicx
     3  
     4  type noCopy struct{}
     5  
     6  func (*noCopy) Lock()   {}
     7  func (*noCopy) Unlock() {}