File: nocopy.go

package info (click to toggle)
golang-github-savsgio-gotils 0.0~git20250408.196191e-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 176 kB
  • sloc: makefile: 2
file content (7 lines) | stat: -rw-r--r-- 199 bytes parent folder | download
1
2
3
4
5
6
7
package nocopy

// Lock is a no-op implementation of the sync.Locker interface.
func (*NoCopy) Lock() {}

// Unlock is a no-op implementation of the sync.Locker interface.
func (*NoCopy) Unlock() {}