func (l *NopLock) Release(_ string) {
}
Release do nothing
package lock
import (
	"github.com/aldor007/mort/pkg/response"
)
type Lock interface {
	Lock(key string) (observer LockResult, acquired bool)
	Release(key string)
	NotifyAndRelease(key string, res *response.Response)
}
type LockResult struct {
	ResponseChan chan *response.Response  
	Cancel       chan bool                
}
type lockData struct {
	Key         string
	notifyQueue []LockResult
}
func (l *lockData) AddWatcher() LockResult {
	d := LockResult{}
	d.ResponseChan = make(chan *response.Response, 1)
	d.Cancel = make(chan bool, 1)
	l.notifyQueue = append(l.notifyQueue, d)
	return d
}
func NewNopLock() *NopLock {
	return &NopLock{}
}
type NopLock struct {
}
func (l *NopLock) Lock(_ string) (LockResult, bool) {
	return LockResult{}, true
}