kopia lustrzana https://github.com/reiver/greatape
feat(app): ✨ implement echo api
rodzic
907aa41cf2
commit
e5e1c0ffe5
|
@ -1,10 +1,7 @@
|
||||||
package spi
|
package spi
|
||||||
|
|
||||||
import (
|
import . "rail.town/infrastructure/components/contracts"
|
||||||
. "rail.town/infrastructure/components/constants"
|
|
||||||
. "rail.town/infrastructure/components/contracts"
|
|
||||||
)
|
|
||||||
|
|
||||||
func Echo(x IDispatcher, document IDocument) (IEchoResult, error) {
|
func Echo(x IDispatcher, document IDocument) (IEchoResult, error) {
|
||||||
return nil, ERROR_NOT_IMPLEMENTED
|
return x.NewEchoResult(document), nil
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue