工具
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

4 years ago
  1. package hasaki_{{.app_name}}
  2. import (
  3. "errors"
  4. "git.ouxuan.net/hasaki-service/hasaki-service-ticker-task/hasaki_ticker_task"
  5. )
  6. const TestTaskType = "test_task_type"
  7. func TestTask(item *hasaki_ticker_task.TickerTaskItem) error {
  8. if item == nil || item.Data == nil {
  9. return errors.New("数据异常")
  10. }
  11. // TODO: do some task...
  12. return nil
  13. }