Files

17 lines
415 B
Go
Raw Permalink Normal View History

package profile
import (
"context"
"errors"
"go.maximumdirect.net/promptkit/internal/domain"
)
// ErrProfileNotFound identifies an absent profile in the captured index.
var ErrProfileNotFound = errors.New("execution profile not found")
// Repository selects execution profiles from a captured index.
type Repository interface {
GetProfile(ctx context.Context, id string) (*domain.ExecutionProfile, error)
}