README.md: add godoc reference badge

This commit is contained in:
Laurence Withers 2020-01-03 08:49:31 +00:00
parent 61c1049e28
commit 7f8f97b335
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
# src.lwithers.me.uk/go/writefile
[![GoDoc](https://godoc.org/src.lwithers.me.uk/go/writefile?status.svg)](https://godoc.org/src.lwithers.me.uk/go/writefile)
This package implements the common Unix technique of writing a new file by first
writing a temporary file, then ensuring it is fsync()ed, before calling rename()
to atomically move into its final resting place.