Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FrequencyTableRepository ¶
type FrequencyTableRepository interface { // Get retrieves a model.FrequencyTable through the ID. Get(ctx context.Context, ID int64) (entity.FrequencyTable, error) // Save saves a model.FrequencyTable on the underlaying datasource. Save(ctx context.Context, ft entity.FrequencyTable) (int64, error) }
FrequencyTableRepository represents a repository capable of storing a given model.FrequencyTable.
type WordCountRepository ¶
type WordCountRepository interface { // Extract extracts a map of words and counts from a source code repository. Extract(url string) (map[string]int, error) }
WordCountRepository represents a repository capable of extracting the dictionary words count from a source code repository.
Click to show internal directories.
Click to hide internal directories.