Documentation
¶
Index ¶
- type TatoebaLinkAddParameter
- type TatoebaLinkAddParameterIterator
- type TatoebaLinkRepository
- type TatoebaSentence
- type TatoebaSentenceAddParameter
- func (_m *TatoebaSentenceAddParameter) GetAuthor() string
- func (_m *TatoebaSentenceAddParameter) GetLang3() domain.Lang3
- func (_m *TatoebaSentenceAddParameter) GetSentenceNumber() int
- func (_m *TatoebaSentenceAddParameter) GetText() string
- func (_m *TatoebaSentenceAddParameter) GetUpdatedAt() time.Time
- type TatoebaSentenceAddParameterIterator
- type TatoebaSentencePair
- type TatoebaSentencePairSearchResult
- type TatoebaSentenceRepository
- func (_m *TatoebaSentenceRepository) Add(ctx context.Context, param service.TatoebaSentenceAddParameter) error
- func (_m *TatoebaSentenceRepository) ContainsSentenceBySentenceNumber(ctx context.Context, sentenceNumber int) (bool, error)
- func (_m *TatoebaSentenceRepository) FindTatoebaSentenceBySentenceNumber(ctx context.Context, sentenceNumber int) (service.TatoebaSentence, error)
- func (_m *TatoebaSentenceRepository) FindTatoebaSentencePairs(ctx context.Context, param service.TatoebaSentenceSearchCondition) (service.TatoebaSentencePairSearchResult, error)
- type TatoebaSentenceSearchCondition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TatoebaLinkAddParameter ¶
TatoebaLinkAddParameter is an autogenerated mock type for the TatoebaLinkAddParameter type
func NewTatoebaLinkAddParameter ¶
func NewTatoebaLinkAddParameter(t testing.TB) *TatoebaLinkAddParameter
NewTatoebaLinkAddParameter creates a new instance of TatoebaLinkAddParameter. It also registers a cleanup function to assert the mocks expectations.
func (*TatoebaLinkAddParameter) GetFrom ¶
func (_m *TatoebaLinkAddParameter) GetFrom() int
GetFrom provides a mock function with given fields:
func (*TatoebaLinkAddParameter) GetTo ¶
func (_m *TatoebaLinkAddParameter) GetTo() int
GetTo provides a mock function with given fields:
type TatoebaLinkAddParameterIterator ¶
TatoebaLinkAddParameterIterator is an autogenerated mock type for the TatoebaLinkAddParameterIterator type
func NewTatoebaLinkAddParameterIterator ¶
func NewTatoebaLinkAddParameterIterator(t testing.TB) *TatoebaLinkAddParameterIterator
NewTatoebaLinkAddParameterIterator creates a new instance of TatoebaLinkAddParameterIterator. It also registers a cleanup function to assert the mocks expectations.
func (*TatoebaLinkAddParameterIterator) Next ¶
func (_m *TatoebaLinkAddParameterIterator) Next(ctx context.Context) (service.TatoebaLinkAddParameter, error)
Next provides a mock function with given fields: ctx
type TatoebaLinkRepository ¶
TatoebaLinkRepository is an autogenerated mock type for the TatoebaLinkRepository type
func NewTatoebaLinkRepository ¶
func NewTatoebaLinkRepository(t testing.TB) *TatoebaLinkRepository
NewTatoebaLinkRepository creates a new instance of TatoebaLinkRepository. It also registers a cleanup function to assert the mocks expectations.
func (*TatoebaLinkRepository) Add ¶
func (_m *TatoebaLinkRepository) Add(ctx context.Context, param service.TatoebaLinkAddParameter) error
Add provides a mock function with given fields: ctx, param
type TatoebaSentence ¶
TatoebaSentence is an autogenerated mock type for the TatoebaSentence type
func NewTatoebaSentence ¶
func NewTatoebaSentence(t testing.TB) *TatoebaSentence
NewTatoebaSentence creates a new instance of TatoebaSentence. It also registers a cleanup function to assert the mocks expectations.
func (*TatoebaSentence) GetAuthor ¶
func (_m *TatoebaSentence) GetAuthor() string
GetAuthor provides a mock function with given fields:
func (*TatoebaSentence) GetLang3 ¶
func (_m *TatoebaSentence) GetLang3() domain.Lang3
GetLang3 provides a mock function with given fields:
func (*TatoebaSentence) GetSentenceNumber ¶
func (_m *TatoebaSentence) GetSentenceNumber() int
GetSentenceNumber provides a mock function with given fields:
func (*TatoebaSentence) GetText ¶
func (_m *TatoebaSentence) GetText() string
GetText provides a mock function with given fields:
func (*TatoebaSentence) GetUpdatedAt ¶
func (_m *TatoebaSentence) GetUpdatedAt() time.Time
GetUpdatedAt provides a mock function with given fields:
type TatoebaSentenceAddParameter ¶
TatoebaSentenceAddParameter is an autogenerated mock type for the TatoebaSentenceAddParameter type
func NewTatoebaSentenceAddParameter ¶
func NewTatoebaSentenceAddParameter(t testing.TB) *TatoebaSentenceAddParameter
NewTatoebaSentenceAddParameter creates a new instance of TatoebaSentenceAddParameter. It also registers a cleanup function to assert the mocks expectations.
func (*TatoebaSentenceAddParameter) GetAuthor ¶
func (_m *TatoebaSentenceAddParameter) GetAuthor() string
GetAuthor provides a mock function with given fields:
func (*TatoebaSentenceAddParameter) GetLang3 ¶
func (_m *TatoebaSentenceAddParameter) GetLang3() domain.Lang3
GetLang3 provides a mock function with given fields:
func (*TatoebaSentenceAddParameter) GetSentenceNumber ¶
func (_m *TatoebaSentenceAddParameter) GetSentenceNumber() int
GetSentenceNumber provides a mock function with given fields:
func (*TatoebaSentenceAddParameter) GetText ¶
func (_m *TatoebaSentenceAddParameter) GetText() string
GetText provides a mock function with given fields:
func (*TatoebaSentenceAddParameter) GetUpdatedAt ¶
func (_m *TatoebaSentenceAddParameter) GetUpdatedAt() time.Time
GetUpdatedAt provides a mock function with given fields:
type TatoebaSentenceAddParameterIterator ¶
TatoebaSentenceAddParameterIterator is an autogenerated mock type for the TatoebaSentenceAddParameterIterator type
func NewTatoebaSentenceAddParameterIterator ¶
func NewTatoebaSentenceAddParameterIterator(t testing.TB) *TatoebaSentenceAddParameterIterator
NewTatoebaSentenceAddParameterIterator creates a new instance of TatoebaSentenceAddParameterIterator. It also registers a cleanup function to assert the mocks expectations.
func (*TatoebaSentenceAddParameterIterator) Next ¶
func (_m *TatoebaSentenceAddParameterIterator) Next(ctx context.Context) (service.TatoebaSentenceAddParameter, error)
Next provides a mock function with given fields: ctx
type TatoebaSentencePair ¶
TatoebaSentencePair is an autogenerated mock type for the TatoebaSentencePair type
func NewTatoebaSentencePair ¶
func NewTatoebaSentencePair(t testing.TB) *TatoebaSentencePair
NewTatoebaSentencePair creates a new instance of TatoebaSentencePair. It also registers a cleanup function to assert the mocks expectations.
func (*TatoebaSentencePair) GetDst ¶
func (_m *TatoebaSentencePair) GetDst() service.TatoebaSentence
GetDst provides a mock function with given fields:
func (*TatoebaSentencePair) GetSrc ¶
func (_m *TatoebaSentencePair) GetSrc() service.TatoebaSentence
GetSrc provides a mock function with given fields:
type TatoebaSentencePairSearchResult ¶
TatoebaSentencePairSearchResult is an autogenerated mock type for the TatoebaSentencePairSearchResult type
func NewTatoebaSentencePairSearchResult ¶
func NewTatoebaSentencePairSearchResult(t testing.TB) *TatoebaSentencePairSearchResult
NewTatoebaSentencePairSearchResult creates a new instance of TatoebaSentencePairSearchResult. It also registers a cleanup function to assert the mocks expectations.
func (*TatoebaSentencePairSearchResult) GetResults ¶
func (_m *TatoebaSentencePairSearchResult) GetResults() []service.TatoebaSentencePair
GetResults provides a mock function with given fields:
func (*TatoebaSentencePairSearchResult) GetTotalCount ¶
func (_m *TatoebaSentencePairSearchResult) GetTotalCount() int
GetTotalCount provides a mock function with given fields:
type TatoebaSentenceRepository ¶
TatoebaSentenceRepository is an autogenerated mock type for the TatoebaSentenceRepository type
func NewTatoebaSentenceRepository ¶
func NewTatoebaSentenceRepository(t testing.TB) *TatoebaSentenceRepository
NewTatoebaSentenceRepository creates a new instance of TatoebaSentenceRepository. It also registers a cleanup function to assert the mocks expectations.
func (*TatoebaSentenceRepository) Add ¶
func (_m *TatoebaSentenceRepository) Add(ctx context.Context, param service.TatoebaSentenceAddParameter) error
Add provides a mock function with given fields: ctx, param
func (*TatoebaSentenceRepository) ContainsSentenceBySentenceNumber ¶
func (_m *TatoebaSentenceRepository) ContainsSentenceBySentenceNumber(ctx context.Context, sentenceNumber int) (bool, error)
ContainsSentenceBySentenceNumber provides a mock function with given fields: ctx, sentenceNumber
func (*TatoebaSentenceRepository) FindTatoebaSentenceBySentenceNumber ¶
func (_m *TatoebaSentenceRepository) FindTatoebaSentenceBySentenceNumber(ctx context.Context, sentenceNumber int) (service.TatoebaSentence, error)
FindTatoebaSentenceBySentenceNumber provides a mock function with given fields: ctx, sentenceNumber
func (*TatoebaSentenceRepository) FindTatoebaSentencePairs ¶
func (_m *TatoebaSentenceRepository) FindTatoebaSentencePairs(ctx context.Context, param service.TatoebaSentenceSearchCondition) (service.TatoebaSentencePairSearchResult, error)
FindTatoebaSentencePairs provides a mock function with given fields: ctx, param
type TatoebaSentenceSearchCondition ¶
TatoebaSentenceSearchCondition is an autogenerated mock type for the TatoebaSentenceSearchCondition type
func NewTatoebaSentenceSearchCondition ¶
func NewTatoebaSentenceSearchCondition(t testing.TB) *TatoebaSentenceSearchCondition
NewTatoebaSentenceSearchCondition creates a new instance of TatoebaSentenceSearchCondition. It also registers a cleanup function to assert the mocks expectations.
func (*TatoebaSentenceSearchCondition) GetKeyword ¶
func (_m *TatoebaSentenceSearchCondition) GetKeyword() string
GetKeyword provides a mock function with given fields:
func (*TatoebaSentenceSearchCondition) GetPageNo ¶
func (_m *TatoebaSentenceSearchCondition) GetPageNo() int
GetPageNo provides a mock function with given fields:
func (*TatoebaSentenceSearchCondition) GetPageSize ¶
func (_m *TatoebaSentenceSearchCondition) GetPageSize() int
GetPageSize provides a mock function with given fields:
func (*TatoebaSentenceSearchCondition) IsRandom ¶
func (_m *TatoebaSentenceSearchCondition) IsRandom() bool
IsRandom provides a mock function with given fields: