From: Simon Ruderich Date: Sat, 8 Jun 2019 12:34:52 +0000 (+0200) Subject: nsscash: go fmt X-Git-Tag: 0.1~88 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=61a186321612e50e2c0224ca84c77434d3c42722;p=nsscash%2Fnsscash.git nsscash: go fmt --- 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) }