mock

package
Version: v0.0.0-...-77b2409 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 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 ProductRepositoryMock

type ProductRepositoryMock struct {
	// contains filtered or unexported fields
}

ProductRepositoryMock struct

func NewProductRepositoryMock

func NewProductRepositoryMock() *ProductRepositoryMock

NewProductRepositoryMock function

func (*ProductRepositoryMock) Count

Count function

func (*ProductRepositoryMock) Delete

func (r *ProductRepositoryMock) Delete(product *domain.Product) shared.Output

Delete function

func (*ProductRepositoryMock) FindAll

func (r *ProductRepositoryMock) FindAll(params *shared.Parameters) shared.Output

FindAll function

func (*ProductRepositoryMock) FindByID

func (r *ProductRepositoryMock) FindByID(id string) shared.Output

FindByID function

func (*ProductRepositoryMock) Save

func (r *ProductRepositoryMock) Save(product *domain.Product) shared.Output

Save function

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL