2 ms·
you stick this in your struct type noCopy struct{} func (*noCopy) Lock() {} func (*noCopy) Unlock() {}
by smasher164 3y ago
you stick this in your struct
type noCopy struct{}
func (*noCopy) Lock() {}
func (*noCopy) Unlock() {}
2 ms·