Documentation
¶
Overview ¶
Package precedent owns dependency-neutral models used to load and rank historical threads without leaking database adapter types into application logic.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RepositoryKey ¶
RepositoryKey provides a stable case-insensitive grouping key.
Types ¶
type RepositorySnapshot ¶
type RepositorySnapshot struct {
Repository domain.RepoRef
Available bool
Sources map[int]Thread
Closed []Thread
ClosedTotal int
ClosedTruncated bool
}
RepositorySnapshot contains all source threads and bounded closed history needed to score every input for one repository.
Click to show internal directories.
Click to hide internal directories.