From 61a186321612e50e2c0224ca84c77434d3c42722 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 8 Jun 2019 14:34:52 +0200 Subject: [PATCH] nsscash: go fmt --- main.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/main.go b/main.go index db21997..7a8755c 100644 --- a/main.go +++ b/main.go @@ -86,14 +86,14 @@ func main() { if t == FileTypePlain { x.Write(src) } else if t == FileTypePasswd { - pws, err := ParsePasswds(bytes.NewReader(src)) - if err != nil { - log.Fatal(err) - } - err = SerializePasswds(&x, pws) - if err != nil { - log.Fatal(err) - } + pws, err := ParsePasswds(bytes.NewReader(src)) + if err != nil { + log.Fatal(err) + } + err = SerializePasswds(&x, pws) + if err != nil { + log.Fatal(err) + } } else { log.Fatalf("unsupported file type %v", t) } -- 2.45.2