mirror of
https://github.com/tiger1103/gfast.git
synced 2026-10-11 08:13:48 +00:00
25 lines
396 B
Go
25 lines
396 B
Go
/*
|
|
* @desc:demo
|
|
* @company:云南奇讯科技有限公司
|
|
* @Author: yixiaohu
|
|
* @Date: 2022/3/2 15:24
|
|
*/
|
|
|
|
package controller
|
|
|
|
import (
|
|
"context"
|
|
"github.com/tiger1103/gfast/v3/api/v1/demo"
|
|
)
|
|
|
|
var Demo = cDemo{}
|
|
|
|
type cDemo struct {
|
|
}
|
|
|
|
func (c *cDemo) Demo(ctx context.Context, req *demo.DmReq) (res *demo.DmRes, err error) {
|
|
res = &demo.DmRes{Name: "赵四"}
|
|
panic("demo wrong")
|
|
return
|
|
}
|