mocks

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeInstagram

type FakeInstagram struct {
	mock.Mock
}

func (*FakeInstagram) GetProvider

func (f *FakeInstagram) GetProvider(_ string) instagram.IProvider

func (*FakeInstagram) GetRandomProvider

func (f *FakeInstagram) GetRandomProvider() instagram.IProvider

type FakeRapidAPIInstagram added in v1.1.26

type FakeRapidAPIInstagram struct {
	mock.Mock
}

func (*FakeRapidAPIInstagram) GetAccount added in v1.1.26

func (f *FakeRapidAPIInstagram) GetAccount(_ string) (*instagram.Account, error)

func (*FakeRapidAPIInstagram) GetFeed added in v1.1.26

func (f *FakeRapidAPIInstagram) GetFeed(_ int64, _ string) ([]*instagram.Post, string, error)

func (*FakeRapidAPIInstagram) GetName added in v1.1.26

func (f *FakeRapidAPIInstagram) GetName() string

Jump to

Keyboard shortcuts

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