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.
16 lines
350 B
16 lines
350 B
package hasaki_{{.app_name}}
|
|
|
|
import (
|
|
"errors"
|
|
"git.ouxuan.net/hasaki-service/hasaki-service-ticker-task/hasaki_ticker_task"
|
|
)
|
|
|
|
const TestTaskType = "test_task_type"
|
|
|
|
func TestTask(item *hasaki_ticker_task.TickerTaskItem) error {
|
|
if item == nil || item.Data == nil {
|
|
return errors.New("数据异常")
|
|
}
|
|
// TODO: do some task...
|
|
return nil
|
|
}
|