Merge pull request #51627 from php-coder/fix_godoc

Automatic merge from submit-queue

Fix godoc comments

This PR fixes godoc comments.

CC @simo5
pull/6/head
Kubernetes Submit Queue 2017-08-30 13:12:37 -07:00 committed by GitHub
commit 6f4a15f922
2 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -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