mocks

package
v0.0.0-...-702d682 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 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 Link struct {
	mock.Mock
}

func (*Link) ApiEndpoint

func (l *Link) ApiEndpoint() string

func (*Link) IsRepoUrl

func (l *Link) IsRepoUrl() bool
func (l *Link) NewMarkdownLink(star int) string
func (l *Link) OldMarkdownLink() string

func (*Link) Raw

func (l *Link) Raw() string

func (*Link) Title

func (l *Link) Title() string

func (*Link) Url

func (l *Link) Url() string

type PullResult

type PullResult struct {
	mock.Mock
}

func (*PullResult) Ok

func (p *PullResult) Ok() bool

func (*PullResult) Stars

func (p *PullResult) Stars() int

type Puller

type Puller struct {
	mock.Mock
}

func (*Puller) Pull

func (p *Puller) Pull(url string) contract.PullResult

Jump to

Keyboard shortcuts

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