Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Locator ¶
Locator is an autogenerated mock type for the Locator type
func NewLocator ¶
NewLocator creates a new instance of Locator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Locator) EXPECT ¶
func (_m *Locator) EXPECT() *Locator_Expecter
type Locator_Expecter ¶
type Locator_Expecter struct {
// contains filtered or unexported fields
}
func (*Locator_Expecter) Locate ¶
func (_e *Locator_Expecter) Locate(_a0 interface{}) *Locator_Locate_Call
Locate is a helper method to define mock.On call
- _a0 string
type Locator_Locate_Call ¶
Locator_Locate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Locate'
func (*Locator_Locate_Call) Return ¶
func (_c *Locator_Locate_Call) Return(_a0 iplocator.Location, _a1 error) *Locator_Locate_Call
func (*Locator_Locate_Call) Run ¶
func (_c *Locator_Locate_Call) Run(run func(_a0 string)) *Locator_Locate_Call
func (*Locator_Locate_Call) RunAndReturn ¶
func (_c *Locator_Locate_Call) RunAndReturn(run func(string) (iplocator.Location, error)) *Locator_Locate_Call
Click to show internal directories.
Click to hide internal directories.