mocks

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository struct {
	mock.Mock
}

Repository is an autogenerated mock type for the Repository type

func (*Repository) Create

func (_m *Repository) Create(f domain.Form) (domain.Form, error)

Create provides a mock function with given fields: f

func (*Repository) Delete

func (_m *Repository) Delete(id int) error

Delete provides a mock function with given fields: id

func (*Repository) Find

func (_m *Repository) Find(id int) (domain.Form, error)

Find provides a mock function with given fields: id

func (*Repository) FindByUUID

func (_m *Repository) FindByUUID(uniq uuid.UUID) (domain.Form, error)

FindByUUID provides a mock function with given fields: uniq

func (*Repository) List

func (_m *Repository) List(meta params.Params) (domain.Forms, int, error)

List provides a mock function with given fields: meta

func (*Repository) Submit

func (_m *Repository) Submit(f domain.FormSubmission) error

Submit provides a mock function with given fields: f

func (*Repository) Update

func (_m *Repository) Update(f domain.Form) (domain.Form, error)

Update provides a mock function with given fields: f

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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