you stick this in your struct
type noCopy struct{}
func (*noCopy) Lock() {}
func (*noCopy) Unlock() {} type noCopy struct{}
func (*noCopy) Lock() {}
func (*noCopy) Unlock() {}No comments yet.