mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-14 22:33:33 +01:00
9 lines
189 B
Go
9 lines
189 B
Go
package utils
|
|
|
|
// empty struct that implements Locker interface
|
|
// for hinting that no copy should be performed.
|
|
type NoCopy struct{}
|
|
|
|
func (*NoCopy) Lock() {}
|
|
func (*NoCopy) Unlock() {}
|