package
Version:
v0.0.5
Opens a new window with list of versions in this module.
Published: Jan 6, 2026
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package task 提供具体的任务实现,包含各种任务的具体执行逻辑和工具函数。
Hello 定义了 Hello 任务的接口。
NewHello 创建一个新的 Hello 实例。
参数:
- logger: 用于记录日志的 logger 实例。
- cfg: 应用配置信息。
返回值:
- Hello: 一个新的 Hello 实例。
- error: 创建实例过程中可能发生的错误。
Source Files
¶
Click to show internal directories.
Click to hide internal directories.