finder

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PipeToPeco

func PipeToPeco(texts []string) (string, error)

Types

type FilterStringer

type FilterStringer interface {
	FilterString() string
}

func Find

func Find(stringers []FilterStringer) ([]FilterStringer, error)

type FilterableIssue

type FilterableIssue struct {
	service.Issue
}

func ToFilterableIssues

func ToFilterableIssues(issues []service.Issue) (fis []*FilterableIssue)

func (*FilterableIssue) FilterString

func (f *FilterableIssue) FilterString() string

func (*FilterableIssue) GetURL

func (f *FilterableIssue) GetURL() string

type FilterablePullRequest

type FilterablePullRequest struct {
	service.PullRequest
}

func ToFilterablePullRequests

func ToFilterablePullRequests(pulls []service.PullRequest) (fis []*FilterablePullRequest)

func (*FilterablePullRequest) FilterString

func (f *FilterablePullRequest) FilterString() string

func (*FilterablePullRequest) GetURL

func (f *FilterablePullRequest) GetURL() string

type FilterableURL

type FilterableURL struct {
	String string
	URL    string
}

func (*FilterableURL) FilterString

func (f *FilterableURL) FilterString() string

func (*FilterableURL) GetURL

func (f *FilterableURL) GetURL() string

type Linker

type Linker interface {
	GetURL() string
}

Jump to

Keyboard shortcuts

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