mocks

package
v0.0.0-...-b2170da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClassServiceInterface

type ClassServiceInterface struct {
	mock.Mock
}

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

type ResultsRepositoryInterface struct {
	mock.Mock
}

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

type TokenServiceInterface struct {
	mock.Mock
}

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

type TokenizerInterface struct {
	mock.Mock
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL