diff options
author | Gibheer <gibheer@gmail.com> | 2015-03-25 20:36:21 +0100 |
---|---|---|
committer | Gibheer <gibheer@gmail.com> | 2015-03-25 20:36:21 +0100 |
commit | 301d931ad76c0754e58cf024b46bebe685faafc5 (patch) | |
tree | de5c62a0d4270bc48839e977e6763646967d10aa /pem_marshal.go | |
parent | b3f621a31251c225944125c17f9f97333ba33209 (diff) |
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.
Diffstat (limited to 'pem_marshal.go')
-rw-r--r-- | pem_marshal.go | 8 |
1 files changed, 4 insertions, 4 deletions
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 } |