translatableerrorfakes

package
v7.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeTranslatableError

type FakeTranslatableError struct {
	ErrorStub func() string

	TranslateStub func(func(string, ...interface{}) string) string
	// contains filtered or unexported fields
}

func (*FakeTranslatableError) Error

func (fake *FakeTranslatableError) Error() string

func (*FakeTranslatableError) ErrorCallCount

func (fake *FakeTranslatableError) ErrorCallCount() int

func (*FakeTranslatableError) ErrorCalls

func (fake *FakeTranslatableError) ErrorCalls(stub func() string)

func (*FakeTranslatableError) ErrorReturns

func (fake *FakeTranslatableError) ErrorReturns(result1 string)

func (*FakeTranslatableError) ErrorReturnsOnCall

func (fake *FakeTranslatableError) ErrorReturnsOnCall(i int, result1 string)

func (*FakeTranslatableError) Invocations

func (fake *FakeTranslatableError) Invocations() map[string][][]interface{}

func (*FakeTranslatableError) Translate

func (fake *FakeTranslatableError) Translate(arg1 func(string, ...interface{}) string) string

func (*FakeTranslatableError) TranslateArgsForCall

func (fake *FakeTranslatableError) TranslateArgsForCall(i int) func(string, ...interface{}) string

func (*FakeTranslatableError) TranslateCallCount

func (fake *FakeTranslatableError) TranslateCallCount() int

func (*FakeTranslatableError) TranslateCalls

func (fake *FakeTranslatableError) TranslateCalls(stub func(func(string, ...interface{}) string) string)

func (*FakeTranslatableError) TranslateReturns

func (fake *FakeTranslatableError) TranslateReturns(result1 string)

func (*FakeTranslatableError) TranslateReturnsOnCall

func (fake *FakeTranslatableError) TranslateReturnsOnCall(i int, result1 string)

Jump to

Keyboard shortcuts

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