15 lines
436 B
Go
Raw Normal View History

2025-02-22 09:42:15 +01:00
package port
import (
"context"
"forge.cadoles.com/wpetit/clearcase/internal/core/model"
)
type Forge interface {
GetProjects(ctx context.Context) ([]*model.Project, error)
CreateIssue(ctx context.Context, projectID string, title string, content string) error
GetIssues(ctx context.Context, projectID string, issueIDs ...string) ([]*model.Issue, error)
GetIssueTemplate(ctx context.Context, projectID string) (string, error)
}