From 79fe3e907befb0f3b13fd7a9b4e99d538c3e57ad Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 2 Jan 2020 18:31:35 +0200 Subject: Refactor: go fmt --- ickadmin.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ickadmin.go b/ickadmin.go index fd2e113..e0f2475 100644 --- a/ickadmin.go +++ b/ickadmin.go @@ -31,9 +31,9 @@ type builds struct { } type build struct { - Project string - Build_id string - Status string + Project string + Build_id string + Status string Exit_code int } @@ -63,13 +63,13 @@ func main() { if err != nil { os.Exit(1) } -// fmt.Fprintf(os.Stdout, "%s\n", token) + // fmt.Fprintf(os.Stdout, "%s\n", token) projects, err := get_projects(cfg, token) if err != nil { os.Exit(1) } - if projects == nil { + if projects == nil { os.Exit(1) } @@ -77,7 +77,7 @@ func main() { if err != nil { os.Exit(1) } - if builds == nil { + if builds == nil { os.Exit(1) } for _, b := range builds.Builds { -- cgit v1.2.1