mocks

package
v0.0.0-...-67f085a Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageService

type ImageService struct {
	mock.Mock
}

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) Download

func (_m *ImageService) Download(ctx context.Context, url string) (string, error)

Download provides a mock function with given fields: ctx, url

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

Jump to

Keyboard shortcuts

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