Documentation ¶
Index ¶
- type Target
- type TargetMock
- func (r *TargetMock) Bool(p0 bool) bool
- func (r *TargetMock) Chan(p0 chan int) chan int
- func (r *TargetMock) Complex(p0 complex64, p1 complex128) (complex64, complex128)
- func (r *TargetMock) Error(p0 error) error
- func (r *TargetMock) Float(p0 float32, p1 float64) (float32, float64)
- func (r *TargetMock) Func(p0 func(int) float32) func(int) float32
- func (r *TargetMock) Int(p0 int, p1 int8, p2 int16, p3 int32, p4 int64) (int, int8, int16, int32, int64)
- func (r *TargetMock) Interface(p0 interface{}) interface{}
- func (r *TargetMock) Map(p0 map[int]error) map[int]error
- func (r *TargetMock) Ptr(p0 uintptr) uintptr
- func (r *TargetMock) Slice(p0 []int) []int
- func (r *TargetMock) Text(p0 byte, p1 rune, p2 string) (byte, rune, string)
- func (r *TargetMock) Uint(p0 uint, p1 uint8, p2 uint16, p3 uint32, p4 uint64) (uint, uint8, uint16, uint32, uint64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Target ¶
type Target interface { Bool(bool) bool Chan(chan int) chan int Complex(complex64, complex128) (complex64, complex128) Error(error) error Float(float32, float64) (float32, float64) Func(func(int) float32) func(int) float32 Int(int, int8, int16, int32, int64) (int, int8, int16, int32, int64) Interface(interface{}) interface{} Map(map[int]error) map[int]error Ptr(uintptr) uintptr Slice([]int) []int Text(byte, rune, string) (byte, rune, string) Uint(uint, uint8, uint16, uint32, uint64) (uint, uint8, uint16, uint32, uint64) }
Target is a sophisticated interface.
type TargetMock ¶
TargetMock implements example.Target
func (*TargetMock) Bool ¶
func (r *TargetMock) Bool(p0 bool) bool
Bool implements (example.Target).Bool
func (*TargetMock) Chan ¶
func (r *TargetMock) Chan(p0 chan int) chan int
Chan implements (example.Target).Chan
func (*TargetMock) Complex ¶
func (r *TargetMock) Complex(p0 complex64, p1 complex128) (complex64, complex128)
Complex implements (example.Target).Complex
func (*TargetMock) Error ¶
func (r *TargetMock) Error(p0 error) error
Error implements (example.Target).Error
func (*TargetMock) Float ¶
func (r *TargetMock) Float(p0 float32, p1 float64) (float32, float64)
Float implements (example.Target).Float
func (*TargetMock) Func ¶
func (r *TargetMock) Func(p0 func(int) float32) func(int) float32
Func implements (example.Target).Func
func (*TargetMock) Int ¶
func (r *TargetMock) Int(p0 int, p1 int8, p2 int16, p3 int32, p4 int64) (int, int8, int16, int32, int64)
Int implements (example.Target).Int
func (*TargetMock) Interface ¶
func (r *TargetMock) Interface(p0 interface{}) interface{}
Interface implements (example.Target).Interface
func (*TargetMock) Map ¶
func (r *TargetMock) Map(p0 map[int]error) map[int]error
Map implements (example.Target).Map
func (*TargetMock) Ptr ¶
func (r *TargetMock) Ptr(p0 uintptr) uintptr
Ptr implements (example.Target).Ptr
func (*TargetMock) Slice ¶
func (r *TargetMock) Slice(p0 []int) []int
Slice implements (example.Target).Slice
Click to show internal directories.
Click to hide internal directories.