test_interface

package
v4.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Display

type Display interface {
	Flash(_param0 string, _param1 int)
	Show(_param0 string)
	SomeValue() string
	MultipleValues() (string, int, float32)
	MultipleParamsAndReturnValue(s string, i int) string
	ArrayParam(array []string)
	FloatParam(float32)
	InterfaceParam(interface{})
	InterfaceReturnValue() interface{}
	ErrorReturnValue() error
	ErrorParam(e error)
	NetHttpRequestParam(r http.Request)
	NetHttpRequestPtrParam(r *http.Request)
	FuncReturnValue() func()
	VariadicParam(v ...string)
	NormalAndVariadicParam(s string, i int, v ...string)
}

Display is some sample interface to be mocked.

Jump to

Keyboard shortcuts

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