points

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Points

type Points struct {
	Total   int
	Reasons []string
}

func StandardPrPoints

func StandardPrPoints(pr types.ViewPr, username string) *Points

StandardPrPoints() awards points to PRs based on a set of rules. These rules should be revisited often, and the points should be tweaked.

func (*Points) Add

func (p *Points) Add(points int, reason string)

func (*Points) Remove

func (p *Points) Remove(points int, reason string)

Jump to

Keyboard shortcuts

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