From 301d931ad76c0754e58cf024b46bebe685faafc5 Mon Sep 17 00:00:00 2001 From: Gibheer Date: Wed, 25 Mar 2015 20:36:21 +0100 Subject: reformat everything with gofmt Yes, I know that this will more or less destroy the history, but it had to be done. I also adjusted my editor to use gofmt rules by default now. --- pem_marshal.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pem_marshal.go') diff --git a/pem_marshal.go b/pem_marshal.go index 54ce1e0..89bd477 100644 --- a/pem_marshal.go +++ b/pem_marshal.go @@ -1,16 +1,16 @@ package pki import ( - "io" + "io" ) type ( - marshalledPemBlock []byte + marshalledPemBlock []byte ) // This function writes the marshalled pem block to a writer and returns the // number of written bytes and eventual errors. func (b marshalledPemBlock) WriteTo(stream io.Writer) (int64, error) { - numBytes, err := stream.Write(b) - return int64(numBytes), err + numBytes, err := stream.Write(b) + return int64(numBytes), err } -- cgit v1.2.3-70-g09d2