feat: use default issue template when not available

This commit is contained in:
2025-02-22 14:21:30 +01:00
parent e6e5c9b04d
commit 7f6dd60b89
5 changed files with 36 additions and 3 deletions

View File

@ -2,10 +2,15 @@ package port
import (
"context"
"errors"
"forge.cadoles.com/wpetit/clearcase/internal/core/model"
)
var (
ErrFileNotFound = errors.New("file not found")
)
type Forge interface {
GetProjects(ctx context.Context) ([]*model.Project, error)
CreateIssue(ctx context.Context, projectID string, title string, content string) error