Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClassServiceInterface ¶
ClassServiceInterface is an autogenerated mock type for the ClassServiceInterface type
func (*ClassServiceInterface) FindOrCreate ¶
func (_m *ClassServiceInterface) FindOrCreate(brainID int64, label string) (entity.ClassInterface, error)
FindOrCreate provides a mock function with given fields: brainID, label
type ResultsRepositoryInterface ¶
ResultsRepositoryInterface is an autogenerated mock type for the ResultsRepositoryInterface type
func (*ResultsRepositoryInterface) SaveResult ¶
func (_m *ResultsRepositoryInterface) SaveResult(brainID int64, res result.TrainingResult) error
SaveResult provides a mock function with given fields: brainID, res
type TokenServiceInterface ¶
TokenServiceInterface is an autogenerated mock type for the TokenServiceInterface type
func (*TokenServiceInterface) FindOrCreate ¶
func (_m *TokenServiceInterface) FindOrCreate(brainID int64, text string) int64
FindOrCreate provides a mock function with given fields: brainID, text
type TokenizerInterface ¶
TokenizerInterface is an autogenerated mock type for the TokenizerInterface type
func (*TokenizerInterface) Tokenize ¶
func (_m *TokenizerInterface) Tokenize(_a0 string) []string
Tokenize provides a mock function with given fields: _a0
Click to show internal directories.
Click to hide internal directories.