mock

package
v0.0.40 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 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