提交 94683bb6 作者: Matt Bell 提交者: Juan Batiz-Benet

commands: Removed unused output stream field from Response

上级 19e5fbae
......@@ -4,7 +4,6 @@ import (
"encoding/json"
"encoding/xml"
"fmt"
"io"
"strings"
)
......@@ -69,7 +68,6 @@ type response struct {
req Request
err *Error
value interface{}
out io.Writer
}
func (r *response) Request() Request {
......@@ -84,10 +82,6 @@ func (r *response) SetValue(v interface{}) {
r.value = v
}
func (r *response) Stream() io.Writer {
return r.out
}
func (r *response) Error() *Error {
return r.err
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论