From e6534880b7fb5041ecb2e33426e8c0aeed1d8a43 Mon Sep 17 00:00:00 2001 From: CodeLingo Bot Date: Wed, 13 Feb 2019 00:54:56 +0000 Subject: [PATCH] Fix function comments based on best practices from Effective Go Signed-off-by: CodeLingo Bot --- cli/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/handler.go b/cli/handler.go index 3c53e7e8..09843b17 100644 --- a/cli/handler.go +++ b/cli/handler.go @@ -56,7 +56,7 @@ func (self *Handler) getParser() Parser { return CompleteParser{parsers} } -// Split on spaces but ignore spaces inside <...> and [...] +// SplitPattern splits on spaces but ignore spaces inside <...> and [...] func (self *Handler) SplitPattern() []string { re := regexp.MustCompile(`(<[^>]+>|\[[^\]]+]|\S+)`) matches := []string{}