From 9237e189f2f489f77c1cc8fb64fa2dc89c309b59 Mon Sep 17 00:00:00 2001 From: zk Date: Tue, 28 Oct 2014 09:58:28 +0800 Subject: [PATCH] Fix Spelling mistake useDiectory to useDirectory in readAppDirectories function --- run.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/run.go b/run.go index 2d74f87..7d7e76a 100644 --- a/run.go +++ b/run.go @@ -128,7 +128,7 @@ func readAppDirectories(directory string, paths *[]string) { return } - useDiectory := false + useDirectory := false for _, fileInfo := range fileInfos { if strings.HasSuffix(fileInfo.Name(), "docs") { continue @@ -138,13 +138,13 @@ func readAppDirectories(directory string, paths *[]string) { continue } - if useDiectory == true { + if useDirectory == true { continue } if path.Ext(fileInfo.Name()) == ".go" { *paths = append(*paths, directory) - useDiectory = true + useDirectory = true } }