domainmocks

package
v0.0.0-...-b6b6a87 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileRepository

type FileRepository struct {
	mock.Mock
}

FileRepository is an autogenerated mock type for the FileRepository type

func (*FileRepository) CreateEmpty

func (_m *FileRepository) CreateEmpty(fileName string) (*os.File, error)

CreateEmpty provides a mock function with given fields: fileName

func (*FileRepository) DeleteAll

func (_m *FileRepository) DeleteAll(fileNames ...string)

DeleteAll provides a mock function with given fields: fileNames

func (*FileRepository) GetFullPath

func (_m *FileRepository) GetFullPath(fileName string) string

GetFullPath provides a mock function with given fields: fileName

func (*FileRepository) Open

func (_m *FileRepository) Open(fileName string) (*os.File, error)

Open provides a mock function with given fields: fileName

type VoiceDataRepository

type VoiceDataRepository struct {
	mock.Mock
}

VoiceDataRepository is an autogenerated mock type for the VoiceDataRepository type

func (*VoiceDataRepository) GetOnRange

func (_m *VoiceDataRepository) GetOnRange(guildID string, from time.Time, to time.Time) ([]domain.VoiceData, error)

GetOnRange provides a mock function with given fields: guildID, from, to

func (*VoiceDataRepository) Save

func (_m *VoiceDataRepository) Save(data domain.VoiceData) error

Save provides a mock function with given fields: data

Jump to

Keyboard shortcuts

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