From 7f8f97b335a8395acb471643a02661f7331848cc Mon Sep 17 00:00:00 2001 From: Laurence Withers Date: Fri, 3 Jan 2020 08:49:31 +0000 Subject: [PATCH] README.md: add godoc reference badge --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 60e5a36..594f885 100644 --- a/README.md +++ b/README.md @@ -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.