Documentation ¶
Index ¶
- type FileContentRepo
- type FileMetaRepo
- func (_m *FileMetaRepo) CreateFileMeta(_a0 context.Context, _a1 *model.DBFile) (*model.DBFile, error)
- func (_m *FileMetaRepo) DeleteFileMeta(_a0 context.Context, _a1 uuid.UUID) error
- func (_m *FileMetaRepo) GetFileMeta(_a0 context.Context, _a1 uuid.UUID) (*model.DBFile, error)
- func (_m *FileMetaRepo) UpdateFileMeta(_a0 context.Context, _a1 *model.DBFile) (*model.DBFile, error)
- type UserRepo
- func (_m *UserRepo) CreateUser(_a0 context.Context, _a1 *model.DBUser) (*model.DBUser, error)
- func (_m *UserRepo) DeleteUser(_a0 context.Context, _a1 uuid.UUID) error
- func (_m *UserRepo) GetUser(_a0 context.Context, _a1 uuid.UUID) (*model.DBUser, error)
- func (_m *UserRepo) UpdateUser(_a0 context.Context, _a1 *model.DBUser) (*model.DBUser, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileContentRepo ¶
FileContentRepo is an autogenerated mock type for the FileContentRepo type
type FileMetaRepo ¶
FileMetaRepo is an autogenerated mock type for the FileMetaRepo type
func (*FileMetaRepo) CreateFileMeta ¶
func (_m *FileMetaRepo) CreateFileMeta(_a0 context.Context, _a1 *model.DBFile) (*model.DBFile, error)
CreateFileMeta provides a mock function with given fields: _a0, _a1
func (*FileMetaRepo) DeleteFileMeta ¶
DeleteFileMeta provides a mock function with given fields: _a0, _a1
func (*FileMetaRepo) GetFileMeta ¶
GetFileMeta provides a mock function with given fields: _a0, _a1
func (*FileMetaRepo) UpdateFileMeta ¶
func (_m *FileMetaRepo) UpdateFileMeta(_a0 context.Context, _a1 *model.DBFile) (*model.DBFile, error)
UpdateFileMeta provides a mock function with given fields: _a0, _a1
type UserRepo ¶
UserRepo is an autogenerated mock type for the UserRepo type
func (*UserRepo) CreateUser ¶
CreateUser provides a mock function with given fields: _a0, _a1
func (*UserRepo) DeleteUser ¶
DeleteUser provides a mock function with given fields: _a0, _a1
Click to show internal directories.
Click to hide internal directories.