mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-15 08:03:37 +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() {}
|