func NewFlock(path string) *Flock {
	return New(path)
}
NewFlock returns a new instance of *Flock. The only parameter
it takes is the path to the desired lockfile.

Deprecated: Use New instead.
package flock
import (
	"context"
	"os"
	"sync"
	"time"
)
type Flock struct {
	path string
	m    sync.RWMutex
	fh   *os.File
	l    bool
	r    bool
}
func New(path string) *Flock {
	return &Flock{path: path}
}