lockfile lockfile is a small Go library for working with lock files. It facilitates the use of lock files as a shared mutex across processes.