star

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewScraper

func NewScraper(gh *github.Client, opts ...Option) (*scraper, error)

NewScraper creates a new GitHub star repository scraper and returns it.

Types

type Option

type Option func(*Options)

Option is gh option

func Paging

func Paging(p int) Option

Paging configures paging

func User

func User(u string) Option

User configures gh user

func Workers

func Workers(w int) Option

Workers configures paging

type Options

type Options struct {
	User    string
	Paging  int
	Workers int
}

Options provides gh options

Jump to

Keyboard shortcuts

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