mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-19 20:32:35 +02:00
8 lines
189 B
Go
8 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() {}
|