Install golang-github-dchest-safefile-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-dchest-safefile-dev
Description:
Implements safe "atomic" saving of files for Go
Go package safefile implements safe "atomic" saving of files. . Instead of truncating and overwriting the destination file, it creates a temporary file in the same directory, writes to it, and then renames the temporary file to the original name when calling Commit.
Homepage: https://github.com/dchest/safefile
Version: 0.0~git20151022.0.855e8d9-1
Section: universe/devel