Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageService ¶
ImageService is an autogenerated mock type for the ImageService type
func NewImageService ¶
func NewImageService(t mockConstructorTestingTNewImageService) *ImageService
NewImageService creates a new instance of ImageService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ImageService) Upload ¶
func (_m *ImageService) Upload(ctx context.Context, file *multipart.FileHeader) (string, error)
Upload provides a mock function with given fields: ctx, file
Click to show internal directories.
Click to hide internal directories.