search

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option struct {
}

type Repository

type Repository struct {
	Name     string
	Author   string
	CloneURL string
}

type Request

type Request struct {
	RawQuery string
	Keyword  string
}

type Response

type Response struct {
	Repositories []Repository
}
type Search interface {
	Search(ctx context.Context, req *Request, options *Option) (*Response, error)
}

TODO(keizo042): rename

func New

func New(githubClient github.Client) (Search, error)

Jump to

Keyboard shortcuts

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