github.com/haraldrudell/parl@v0.4.176/no-copy.go (about)

     1  /*
     2  © 2023-present Harald Rudell <haraldrudell@proton.me> (https://haraldrudell.github.io/haraldrudell/)
     3  All rights reserved
     4  */
     5  
     6  package parl
     7  
     8  // See https://golang.org/issues/8005#issuecomment-190753527
     9  // for details.
    10  type noCopy struct{}
    11  
    12  func (*noCopy) Lock() {}