From ffb4c8b5c2641ae9ee845ddd7f7031c1111a6d45 Mon Sep 17 00:00:00 2001 From: Mikhail Osipov Date: Wed, 22 Jan 2020 04:32:26 +0300 Subject: add chain and env commands --- pkg/server/echo.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pkg/server/echo.go') 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, " ")) } -- cgit v1.2.3-70-g09d2