Browse code

correct pkg/stdcopy NewStdWriter function comments

pkg/stdcopy NewStdWriter function has wrong doc comment,
utils is not correct, it should be stdcopy

Signed-off-by: Deshi Xiao <xiaods@gmail.com>

Deshi Xiao authored on 2015/04/13 18:21:27
Showing 1 changed files
... ...
@@ -52,7 +52,7 @@ func (w *StdWriter) Write(buf []byte) (n int, err error) {
52 52
 // and written to the underlying `w` stream.
53 53
 // This allows multiple write streams (e.g. stdout and stderr) to be muxed into a single connection.
54 54
 // `t` indicates the id of the stream to encapsulate.
55
-// It can be utils.Stdin, utils.Stdout, utils.Stderr.
55
+// It can be stdcopy.Stdin, stdcopy.Stdout, stdcopy.Stderr.
56 56
 func NewStdWriter(w io.Writer, t StdType) *StdWriter {
57 57
 	if len(t) != StdWriterPrefixLen {
58 58
 		return nil