summaryrefslogtreecommitdiff
path: root/pkg/server/echo.go
diff options
context:
space:
mode:
authorMikhail Osipov <mike.osipov@gmail.com>2020-01-22 04:32:26 +0300
committerMikhail Osipov <mike.osipov@gmail.com>2020-01-22 12:12:51 +0300
commitffb4c8b5c2641ae9ee845ddd7f7031c1111a6d45 (patch)
treea6459e5237841edc30e43b815b1b012aa27741b5 /pkg/server/echo.go
parentdc51320e96e82f574b629563dbcce65607d80483 (diff)
add chain and env commands
Diffstat (limited to 'pkg/server/echo.go')
-rw-r--r--pkg/server/echo.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/server/echo.go b/pkg/server/echo.go
index c8dce31..00f0c2d 100644
--- a/pkg/server/echo.go
+++ b/pkg/server/echo.go
@@ -2,7 +2,6 @@ package server
import (
"strings"
- "fmt"
)
func init() {
@@ -10,5 +9,5 @@ func init() {
}
func echo(r *request) {
- fmt.Fprint(r.out, strings.Join(r.args, " "))
+ r.Print(strings.Join(r.args, " "))
}