github.com/creachadair/atomicfile
Package atomicfile implements all-or-nothing file replacement by staging output to a temporary file adjacent to the target, and renaming…
go get github.com/creachadair/atomicfile Package atomicfile implements all-or-nothing file replacement by staging output to a temporary file adjacent to the target, and renaming…
go get github.com/creachadair/atomicfile