package controller import ( "context" "customer-server/model/dto" "customer-server/service" ) var AccountHttp = new(accountHttp) type accountHttp struct{} func (c *accountHttp) Connect(ctx context.Context, req *dto.AccountHttpConnectReq) (res *dto.AccountHttpConnectRes, err error) { res, err = service.AccountHttpService.Connect(ctx, req) return }