Versions in this module Expand all Collapse all v0 v0.1.4 Jun 10, 2026 Changes in this version + var Default = New() + var ErrSourceNotFound = errors.New("source not registered") + type FactoryOptions struct + Ref string + Version string + type LanguageInfo struct + FrameworkCount int + Language string + type Registry struct + func New() *Registry + func (r *Registry) Alias(alias, canonicalID string) + func (r *Registry) Create(id string, repoPath string, opts FactoryOptions) (source.Source, error) + func (r *Registry) Get(id string) (SourceFactory, bool) + func (r *Registry) Languages() []LanguageInfo + func (r *Registry) List() []string + func (r *Registry) ListByLanguage(language string) []string + func (r *Registry) Register(id string, f SourceFactory) + type SourceFactory func(repoPath string, opts FactoryOptions) (source.Source, error)