score

package
v0.0.0-...-8d9ef14 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GithubRepositoryScore

type GithubRepositoryScore struct {
	Weight GithubScoringWeight
	R      *github.Repository

	RiskNote   map[string][]string
	TotalScore int
	// contains filtered or unexported fields
}

func NewGithubRepositoryScore

func NewGithubRepositoryScore(c *github.Client, r *github.Repository) *GithubRepositoryScore

func (*GithubRepositoryScore) Score

func (rs *GithubRepositoryScore) Score(ctx context.Context) error

type GithubScoringWeight

type GithubScoringWeight struct {
	OwnerCountW       int
	ContributorCountW int
	LastUpdateW       int
	StarCountW        int
	WatcherCountW     int
}

Jump to

Keyboard shortcuts

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