add exit mechanicm to each stage

remove types and moved struct to appropriate files
This commit is contained in:
Robin Olsen
2026-02-16 13:08:45 +01:00
parent 1fe92d1972
commit b3b45e67be
7 changed files with 111 additions and 65 deletions

View File

@@ -2,10 +2,13 @@ package task
import (
"context"
"errors"
"github.com/LazyBachelor/LazyPM/internal/service"
)
var ErrUserQuit = errors.New("user quit")
type TaskConfig = service.Config
type Interface interface {