mock

package
v0.0.35 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeSUrveys

type FakeSUrveys struct {
	RecordNPSResponseFn func(
		ctx context.Context,
		input dto.NPSInput,
	) (bool, error)
}

FakeSUrveys simulates the behavior of our Surveys response implementation

func (*FakeSUrveys) RecordNPSResponse

func (s *FakeSUrveys) RecordNPSResponse(
	ctx context.Context,
	input dto.NPSInput,
) (bool, error)

RecordNPSResponse is a mock of the RecordNPSResponse method

Jump to

Keyboard shortcuts

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