aboutsummaryrefslogtreecommitdiff
path: root/checkdir.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-10-11 18:51:56 +0200
committerJakob Unterwurzacher2015-10-11 18:51:56 +0200
commit242fcd0736313eaec17e3fa10f5f9a34b54164fb (patch)
treea02184a2865d760ebf6d3ded8e65ed55fbdd3484 /checkdir.go
parentb00fc379c4d18ca848b5ded70549120755a509c4 (diff)
Run gofmtv0.2
Diffstat (limited to 'checkdir.go')
-rw-r--r--checkdir.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/checkdir.go b/checkdir.go
index 182bf97..b597834 100644
--- a/checkdir.go
+++ b/checkdir.go
@@ -1,8 +1,8 @@
package main
import (
- "io/ioutil"
"fmt"
+ "io/ioutil"
"os"
)
@@ -26,7 +26,7 @@ func checkDir(dir string) error {
if err != nil {
return err
}
- if ! fi.IsDir() {
+ if !fi.IsDir() {
return fmt.Errorf("%s is not a directory")
}
return nil