Helper functions related to process id.
go get -u github.com/eosswedenorg-go/pid@latest
func Get() (int)
Returns the process id of the caller.
func Save(path string) (error)
Saves the process id of the caller to path
on disk.
func Read(path string) (int, error)
Reads the process id stored in path
on disk.
Henrik Hautakoski - Sw/eden - henrik@eossweden.org