提交 d464e3d1 作者: Juan Batiz-Benet 提交者: Matt Bell

commands: go fmt

上级 dd81bf63
......@@ -2,9 +2,9 @@ package commands
import (
"fmt"
"io"
"reflect"
"strconv"
"io"
)
type optMap map[string]interface{}
......@@ -24,7 +24,7 @@ type request struct {
path []string
options optMap
arguments []string
in io.Reader
in io.Reader
}
// Path returns the command path of this request
......
......@@ -4,8 +4,8 @@ import (
"encoding/json"
"encoding/xml"
"fmt"
"io"
"strings"
"io"
)
// ErrorType signfies a category of errors
......@@ -69,7 +69,7 @@ type response struct {
req Request
err *Error
value interface{}
out io.Writer
out io.Writer
}
func (r *response) Request() Request {
......@@ -85,7 +85,7 @@ func (r *response) SetValue(v interface{}) {
}
func (r *response) Stream() io.Writer {
return r.out
return r.out
}
func (r *response) Error() error {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论