From bde9231b536a9ffcb075e1c58173a988fd84c474 Mon Sep 17 00:00:00 2001 From: Senad Uka Date: Fri, 29 May 2015 21:10:33 +0200 Subject: [PATCH] git fmting --- chub/init.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chub/init.go b/chub/init.go index d326f6f..71bb359 100644 --- a/chub/init.go +++ b/chub/init.go @@ -2,6 +2,7 @@ package main import ( "encoding/json" + "fmt" "github.com/edindazdarevic/confighub/chub/client" "github.com/edindazdarevic/confighub/chub/globals" homedir "github.com/mitchellh/go-homedir" @@ -9,7 +10,6 @@ import ( "os" "path/filepath" "runtime" - "fmt" ) func initCommand(guid string) { @@ -22,7 +22,7 @@ func initCommand(guid string) { machineToInitialize := client.Machine{hostname, runtime.GOOS, runtime.GOARCH, guid} finishedOk := client.Init(&machineToInitialize) - if (finishedOk) { + if finishedOk { fmt.Printf("Successfuly initialized the machine with id %v\n", guid) }