From 9cc9e82920a5ba98a719d82412af537d5adf8eaf Mon Sep 17 00:00:00 2001 From: Shawn Smith Date: Thu, 31 Dec 2015 14:23:13 +0900 Subject: [PATCH] fix typos --- internal/common/common.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/common/common.go b/internal/common/common.go index 3449cdd..8c38bdb 100644 --- a/internal/common/common.go +++ b/internal/common/common.go @@ -186,7 +186,7 @@ func mustParseFloat64(val string) float64 { return vv } -// StringsHas checks the target string slice containes src or not +// StringsHas checks the target string slice contains src or not func StringsHas(target []string, src string) bool { for _, t := range target { if strings.TrimSpace(t) == src { @@ -236,7 +236,7 @@ func PathExists(filename string) bool { return false } -//GetEnv retreives the environment variable key. If it does not exist it returns the default. +//GetEnv retrieves the environment variable key. If it does not exist it returns the default. func GetEnv(key string, dfault string, combineWith ...string) string { value := os.Getenv(key) if value == "" {