mocks

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scraper

type Scraper struct {
	mock.Mock
}

Scraper is an autogenerated mock type for the Scraper type

func NewScraper

func NewScraper(t mockConstructorTestingTNewScraper) *Scraper

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

func (*Scraper) Scrape

func (_m *Scraper) Scrape(url string, selector string) (string, error)

Scrape provides a mock function with given fields: url, selector

Jump to

Keyboard shortcuts

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