mirror of https://github.com/k3s-io/k3s
Fix godoc comments.
parent
e3210c6ccf
commit
19e9e027bb
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue