Commit 9cc9e829 authored by Shawn Smith's avatar Shawn Smith

fix typos

parent f58654fa
......@@ -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 == "" {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment