package handler import ( "net/http" "mstore/app/operator" "mstore/app/router" ) func (hand *Handler) SendHello(rctx *router.Context) { params := &operator.SendHelloParams{} res, _ := hand.oper.SendHello(params) rctx.SetStatus(http.StatusOK) hand.SendResult(rctx, res) }