bots

package
v0.0.0-...-4f0d0f2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeatureRequestBot

type FeatureRequestBot struct {
	// contains filtered or unexported fields
}

FeatureRequestBot fetches feature requests that are: - have state open - are older than 60 days - do not have a linked PR

func NewFeatureRequestBot

func NewFeatureRequestBot(apiToken string, owner string, repo string) *FeatureRequestBot

NewFeatureRequestBot creates the bot with your GitHub api key and github repo details

func (*FeatureRequestBot) GetStaleFeatureRequests

func (frb *FeatureRequestBot) GetStaleFeatureRequests(optParams ...string) ([]*github.Issue, error)

GetStaleFeatureRequests return an array of stale feature requests

func (*FeatureRequestBot) PrintStaleFeatureRequestsAsCSV

func (frb *FeatureRequestBot) PrintStaleFeatureRequestsAsCSV() error

PrintStaleFeatureRequestsAsCSV prints out the stale feature requests with fmt To create a CSV From the cmd line: go run cmd/main.go -apiToken=xxx > /tmp/stalefrs.csv

Jump to

Keyboard shortcuts

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