test

package
v0.0.0-...-2b7dfc1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2020 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockViewerRepository

type MockViewerRepository struct {
	mock.Mock
}

func (*MockViewerRepository) Create

func (m *MockViewerRepository) Create(ctx context.Context, viewer domain.Viewer) error

func (*MockViewerRepository) FindAll

func (m *MockViewerRepository) FindAll(ctx context.Context, query *provider.Query) ([]*domain.Viewer, error)

type MockViewerService

type MockViewerService struct {
	mock.Mock
}

func (*MockViewerService) Statistic

func (m *MockViewerService) Statistic(ctx context.Context, query *provider.Query) (*cookbook.JSON, error)

Jump to

Keyboard shortcuts

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