Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveCategory ¶
Types ¶
type AnalysisResult ¶
type BatchAnalyzer ¶
type BatchAnalyzer struct {
// contains filtered or unexported fields
}
func NewBatchAnalyzer ¶
func (*BatchAnalyzer) Run ¶
func (b *BatchAnalyzer) Run(ctx context.Context, repos []*store.Repository, opts BatchOpts) (*BatchResult, error)
type BatchResult ¶
type SearchHit ¶
type SearchHit struct {
Repo *store.Repository
Score float64
}
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) AnalyzeRepository ¶
func (s *Service) AnalyzeRepository(ctx context.Context, repo *store.Repository, readme string, cats []*store.Category) (*AnalysisResult, error)
Click to show internal directories.
Click to hide internal directories.