Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TheoryRepository ¶
func TheoryRepository(values TheoryRepositoryReturnValues) theory.Repository
TheoryRepository returns a mock implementation of theory.Repository
func TheoryService ¶
func TheoryService(values TheoryServiceReturnValues) theory.Service
TheoryService return a mocked implementation of theory.Serice
Types ¶
type TheoryRepositoryReturnValues ¶
type TheoryRepositoryReturnValues struct { GetPitch []interface{} ListPitchChords []interface{} ListPitchKeys []interface{} ListPitchScales []interface{} ListPitches []interface{} GetChord []interface{} GetChordQuality []interface{} ListChordKeys []interface{} ListChordPitches []interface{} ListChordScales []interface{} ListChords []interface{} GetScale []interface{} ListScaleChords []interface{} ListScaleKeys []interface{} ListScalePitches []interface{} ListScales []interface{} GetKey []interface{} ListKeyChords []interface{} ListKeyModes []interface{} ListKeyPitches []interface{} ListKeys []interface{} }
TheoryRepositoryReturnValues stores return value of mocked theory.Repository
type TheoryServiceReturnValues ¶
type TheoryServiceReturnValues struct { GetPitch []interface{} ListPitchChords []interface{} ListPitchKeys []interface{} ListPitchScales []interface{} ListPitches []interface{} GetChord []interface{} GetChordQuality []interface{} ListChordKeys []interface{} ListChordPitches []interface{} ListChordScales []interface{} ListChords []interface{} GetScale []interface{} ListScaleChords []interface{} ListScaleKeys []interface{} ListScalePitches []interface{} ListScales []interface{} GetKey []interface{} ListKeyChords []interface{} ListKeyModes []interface{} ListKeyPitches []interface{} ListKeys []interface{} }
TheoryServiceReturnValues stores return value of mocked theory.Service
Click to show internal directories.
Click to hide internal directories.