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

commands: Removed unused output stream field from Response

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