dirlock_windows.go

package dirlock

type DirLock struct {
    dir string
}

func New(dir string) *DirLock {
    return &DirLock{
        dir: dir,
    }
}

func (l *DirLock) Lock() error {
    return nil
}

func (l *DirLock) Unlock() error {
    return nil
}
原文地址:https://www.cnblogs.com/zhangboyu/p/7457393.html