Single ensures that only one instance of your program is running
Use a persistent *Single
object for the duration of your program, or Go's garbage collector will automatically close the lockfile.
single ensures that only one instance of your program is running
Single ensures that only one instance of your program is running
Use a persistent *Single
object for the duration of your program, or Go's garbage collector will automatically close the lockfile.
single ensures that only one instance of your program is running
MIT License