From 19e9e027bb240a3fbe05f47769c919e800b99ff9 Mon Sep 17 00:00:00 2001 From: Slava Semushin Date: Wed, 30 Aug 2017 15:22:47 +0200 Subject: [PATCH] Fix godoc comments. --- pkg/util/strings/escape.go | 2 +- pkg/util/strings/line_delimiter.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/util/strings/escape.go b/pkg/util/strings/escape.go index ba7f8504b48..b82a0f23fb8 100644 --- a/pkg/util/strings/escape.go +++ b/pkg/util/strings/escape.go @@ -27,7 +27,7 @@ func EscapePluginName(in string) string { return strings.Replace(in, "/", "~", -1) } -// EscapeQualifiedPluginName converts a plugin directory name in the format +// UnescapePluginName converts a plugin directory name in the format // vendor~pluginname into a proper vendor/pluginname. func UnescapePluginName(in string) string { return strings.Replace(in, "~", "/", -1) diff --git a/pkg/util/strings/line_delimiter.go b/pkg/util/strings/line_delimiter.go index 56e38302a14..8907869c9e7 100644 --- a/pkg/util/strings/line_delimiter.go +++ b/pkg/util/strings/line_delimiter.go @@ -22,7 +22,8 @@ import ( "strings" ) -// A Line Delimiter is a filter that will +// LineDelimiter is a filter that will split input on lines +// and bracket each line with the delimiter string. type LineDelimiter struct { output io.Writer delimiter []byte