mocks

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 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 APIClient

type APIClient struct {
	mock.Mock
}

APIClient is an autogenerated mock type for the APIClient type

func NewAPIClient

func NewAPIClient(t mockConstructorTestingTNewAPIClient) *APIClient

NewAPIClient creates a new instance of APIClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*APIClient) GetCountries

func (_m *APIClient) GetCountries(ctx context.Context) ([]string, error)

GetCountries provides a mock function with given fields: ctx

func (*APIClient) GetPopulation

func (_m *APIClient) GetPopulation(ctx context.Context, codes string) (int64, error)

GetPopulation provides a mock function with given fields: ctx, codes

Jump to

Keyboard shortcuts

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