From 44421cf84c0b42ad8ff910f5a3e78bb4a59ca114 Mon Sep 17 00:00:00 2001 From: alessio Date: Tue, 1 Nov 2016 11:16:15 +0100 Subject: [PATCH] descriptions standardized --- watcher/utils.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/watcher/utils.go b/watcher/utils.go index 9c78fc6..7cdbab1 100644 --- a/watcher/utils.go +++ b/watcher/utils.go @@ -7,7 +7,7 @@ import ( "time" ) -// argsParam parse one by one the given argumentes +// Argsparam parse one by one the given argumentes func argsParam(params *cli.Context) []string { argsN := params.NArg() if argsN > 0 { @@ -30,7 +30,7 @@ func duplicates(value Project, arr []Project) (Project, error) { return Project{}, nil } -// check if a string is inArray +// Check if a string is inArray func inArray(str string, list []string) bool { for _, v := range list { if v == str { @@ -40,7 +40,7 @@ func inArray(str string, list []string) bool { return false } -// Cewrites the log timestamp +// Rewrite the layout of the log timestamp func (w logWriter) Write(bytes []byte) (int, error) { return fmt.Print(w.Yellow.Regular("[") + time.Now().Format("15:04:05") + w.Yellow.Regular("]") + string(bytes)) }