func TryLockFile(path string, flag int, perm os.FileMode) (*LockedFile, error) { … } func LockFile(path string, flag int, perm os.FileMode) (*LockedFile, error) { … }
func TryLockFile(path string, flag int, perm os.FileMode) (*LockedFile, error) { … } func LockFile(path string, flag int, perm os.FileMode) (*LockedFile, error) { … }