Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 776 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 776 Bytes

Go Report Card Coverage Status Build Status GoDoc

Single

Single ensures that only one instance of your program is running

Usage

Use a persistent *Single object for the duration of your program, or Go's garbage collector will automatically close the lockfile.