LAPP标准接口程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.7 KiB

package etl
import (
model "LAPP_ETL/models/etl"
"LAPP_ETL/services/etl/implments"
)
/******************************************************************************
*
* @Interface Name : ExtractService
*-----------------------------------------------------------------------------
*
* @Description : ExtractService的服务接口
*
* @Author : zhangxin
*
* @Date : 2021-06-02
*
******************************************************************************/
type ExtractService interface {
/******************************************************************************
*
* @Function Name : StandardExtract
*-----------------------------------------------------------------------------
*
* @Description : 抽取数据到mongo
*
* @Function Parameters : taskHead
*
* @Author : zhangxin
*
* @Date : 2021-06-02
*
******************************************************************************/
StandardExtract(*model.TaskHead)
}
/******************************************************************************
*
* @Function Name : NewExtractService
*-----------------------------------------------------------------------------
*
* @Description : 创建一个NewExtractService
*
* @Return Value : NewExtractService实例
*
* @Author : zhangxin
*
* @Date : 2021-06-02
*
******************************************************************************/
func NewExtractService() ExtractService {
return implments.NewExtractServiceImplement()
}