feat: add task work limit

This commit is contained in:
Noah Hsu
2022-06-18 20:38:14 +08:00
parent dd46e99e66
commit d665cce739
6 changed files with 65 additions and 28 deletions

7
pkg/task/errors.go Normal file
View File

@ -0,0 +1,7 @@
package task
import "errors"
var (
ErrTaskNotFound = errors.New("task not found")
)