From e5e1c0ffe504f5090b47a1f15345617ae9beee22 Mon Sep 17 00:00:00 2001 From: Xeronith Date: Mon, 31 Oct 2022 14:29:50 +0330 Subject: [PATCH] feat(app): :sparkles: implement echo api --- greataped/app/commands/spi/echo.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/greataped/app/commands/spi/echo.go b/greataped/app/commands/spi/echo.go index f66a480..7996b1d 100644 --- a/greataped/app/commands/spi/echo.go +++ b/greataped/app/commands/spi/echo.go @@ -1,10 +1,7 @@ package spi -import ( - . "rail.town/infrastructure/components/constants" - . "rail.town/infrastructure/components/contracts" -) +import . "rail.town/infrastructure/components/contracts" func Echo(x IDispatcher, document IDocument) (IEchoResult, error) { - return nil, ERROR_NOT_IMPLEMENTED + return x.NewEchoResult(document), nil }